diff --git a/js/Utils.js b/js/Utils.js index 1ad97ad..21af86b 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -553,15 +553,7 @@ const Utils = { toFixed( value, decimalPlaces ) { const multiplier = Math.pow( 10, decimalPlaces ); const newValue = Utils.roundSymmetric( value * multiplier ) / multiplier; - let fixedValue; - try { - fixedValue = newValue.toFixed( decimalPlaces ); // eslint-disable-line bad-sim-text - } - catch( error ) { - //TODO https://github.com/phetsims/ph-scale/issues/286 This is temporary, for debugging with CT. - throw new Error( `Number.toFixed failed: message=${error.message}, fractionDigits=${decimalPlaces}` ); - } - return fixedValue; + return newValue.toFixed( decimalPlaces ); // eslint-disable-line bad-sim-text }, /**