November 4th, 2002, 11:54 PM
|
#1 (permalink)
|
| Junior Member
Join Date: Nov 2002
Posts: 1
| Quick javascript question
Hey everyone, I found these forums though a search on google, so I'm hoping somebody here can help me out. I'm all but completely new to javascript, and I've coded myself a nice little form calculating the prices of some items. The problem I run into is that the prices (once taxes are calculated) have decimal places, and many of them. How can I limit numbers to two decimal places? (I know how to round them to the nearest integer, but not to 2 decimal places).
Thanks in advance for any help you can provide  |
| |