phetsims / blackbody-spectrum

"Blackbody Spectrum" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
1 stars 3 forks source link

replace toFixed with dot.Util.toFixed #5

Closed pixelzoom closed 9 years ago

pixelzoom commented 9 years ago

This sim uses JavaScript's built-in toFixed. This function should not be used directly; it is notoriously buggy, and behavior differs depending on browser, because the spec doesn't specify whether to round or floor. Use dot.Util.toFixed, see its doc for details.

veillette commented 9 years ago

Task completed assigning to @pixelzoom for review.

pixelzoom commented 9 years ago

Fixed formatting. Looks good, closing.