Last Updated: February 25, 2016
·
3.189K
· tylerfowler

Decimal Formatting in JS/CoffeeScript

Took a bit to find this one, though it's something everybody should just know (and maybe everybody does except for me..)

number = 24.54616515.toFixed 2    #24.55