This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > October 2005 > How do I use math.round to round a number to 3 decimal





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do I use math.round to round a number to 3 decimal
2BNSD

2005-10-24, 6:23 pm

I have a text field, fld_vph, that is calculated from a function and has a long
series of decimal places. I want to create a function that rounds this number
to only 3 decimal places. I've tried multiple ways, but none work. Any ideas
on the correct syntax to round a text field in "document.form1.fld_vph.value"?

Thanks

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews