Can you round a number in javascript to 1 character after the decimal point (properly rounded)?
I tried the *10, round, /10 but it leaves two decimals at the end of
Using toPrecision method:
var a = 1.2345 a.toPrecision(2) // result "1.2"