Well, I guess you could do it the easy way, Like Phil suggested :-)

I am going to have to plead the "Cold Medicine Head" on this one.

Well, it does show how easy it is to do server side javascript

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm�
Latest downloads &�List Archives�@ http://www.witango.ws

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:owner-witango-talk@;witango.com] On Behalf Of Dave Machin
Sent: Thursday, October 31, 2002 3:45 PM
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Rounding a float properly

How do I round a value to a certain number of decimals properly?
�
For example, if I have a variable that equals 9.666 how would I round it
to 9.7?
�
I use format, but it truncates to 9.6 instead...
�
Dave Machin
�

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to