12 ms·Rounding Decimals in JavaScript2 points by jackmoore 13y agoal2o3cr 13y agoSup dawg, we heard you liked strings and floating-point arithmetic so we made it so the only way you can correctly round a float in JS is by using string arithmetic. facepalm