SyntaxFix
Write A Post
Hire A Developer
Questions
You could do it with the toFixed function, but it's buggy in IE. If you want a reliable solution, look at my answer here.
toFixed