Hi,
I have to calculate a amount field based on the below formula,
installamountto=netamountto/term.
The output sometimes can come like
3.3333333,or 45.777777,etc.It can be any value but i want to round the decimal to only 2 digits or suppose for example if the value is 45.45,round it to 45.5.
How do i achieve this using javascript.
Thanks
Rama
I have to calculate a amount field based on the below formula,
installamountto=netamountto/term.
The output sometimes can come like
3.3333333,or 45.777777,etc.It can be any value but i want to round the decimal to only 2 digits or suppose for example if the value is 45.45,round it to 45.5.
How do i achieve this using javascript.
Thanks
Rama
Comment