This topic is locked

display three digits after decimal

8/28/2013 6:18:36 AM
PHPRunner General questions
A
adnankmk author

I have used javascript onload event to add the values of the form. When I add two values the total shows values as under.
Op_bal= 3.8

Bud= 10.9

total= 14.70000000000000000
How I can restrict the total as under:

total= 14.7
how I should do this