Thread
:
[SOLVED] Iam making a JavaScript program, and I need the output to be in currency.?
View Single Post
#
2
(
permalink
)
06-10-2007, 05:30 PM
javier
Posts: n/a
Try changing the following line:
A3 = (A1 * A2);
to:
A3 = Math.round(100 * A1 * A2)/100;
__________________
javier