mastahkaz
01-30-2003, 12:42 PM
When doing calculations in javascript how do I round something to something other than a whole number? Like the nearest 10ths or 100ths.
right now i'm just using X = Math.round(A + B)
right now i'm just using X = Math.round(A + B)