cksvga
Last Updated: February 25, 2016
·
2.242K
· tylerfowler
878a87ce30eec604f62b772289b9692e

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
Say Thanks
Respond