Rounding Decimals in JavaScript(jacklmoore.com)2 points·by jackmoore·12 tahun yang lalu·1 commentsjacklmoore.comRounding Decimals in JavaScripthttp://www.jacklmoore.com/notes/rounding-in-javascript/1 commentsPost comment[–]al2o3cr·12 tahun yang lalureplySup 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
facepalm