Previous | Next | (P-PDF) JavaScript
Topic: Rounding off to the nearest decimal point
Conf: (P-PDF) JavaScript, Msg: 28517
From: linnieljh
Date: 10/13/2001 02:07 PM
In creating a number times a percentage I need to have the number round of 2 decimal points. What do I need to insert to obtain this?
My present script reads:
var f = this.getField("Cash.1");
event.value = f.value /1.77 * 0.47;
Any help will be greatly appreciated.