A admin Administrator Staff member Aug 22, 2008 #1 Is there any way to round numbers in javascript? Say I have a variable: x=3.675 how would I round it to two places? So, afterward it would be 3.68. Is there some way to do that?
Is there any way to round numbers in javascript? Say I have a variable: x=3.675 how would I round it to two places? So, afterward it would be 3.68. Is there some way to do that?