Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
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.8Bud= 10.9total= 14.70000000000000000How I can restrict the total as under:total= 14.7how I should do this
http://www.w3schools.com/jsref/jsref_tofixed.asp