You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOT/Utils.toFixed or DOT/Utils.toFixedNumber should be used instead of toFixed. JavaScript's toFixed is notoriously buggy. Behavior differs depending on browser, because the spec doesn't specify whether to round or floor.
The sim uses toFixed where it should use DOT/UtilstoFixed or toFixedNumber. See 2 occurrences in AmpPhaseAccordionBox.js.
The text was updated successfully, but these errors were encountered:
Related to #2 (code review).
The sim uses
toFixed
where it should useDOT/Utils
toFixed
ortoFixedNumber
. See 2 occurrences in AmpPhaseAccordionBox.js.The text was updated successfully, but these errors were encountered: