Skip to content

Commit

Permalink
TODO #613
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jan 3, 2024
1 parent fe2cd07 commit c18c909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ScientificNotationNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default class ScientificNotationNode extends Node {
if ( options.exponent !== null ) {

// M x 10^E, where E is options.exponent
//TODO https://github.com/phetsims/dot/issues/113 division here and in Utils.toFixed can result in floating-point error that affects rounding
//TODO https://github.com/phetsims/scenery-phet/issues/613 Determine whether the improved implementation of Utils.toFixed fixed floating-point error that affected rounding
mantissa = Utils.toFixed( value / Math.pow( 10, options.exponent ), options.mantissaDecimalPlaces );
exponent = options.exponent.toString();
}
Expand Down

0 comments on commit c18c909

Please sign in to comment.