While working on a project, I came across a JS-script created by a former employee that basically creates a report in the form of
Name : Value Name2 : Value2
You can also use toFixed(x) or toPrecision(x) where x is the number of digits.
toFixed(x)
toPrecision(x)
Both these methods are supported in all major browsers