[thelist] rounding left of the decimal with VBScript
Ken Schaefer
ken at adOpenStatic.com
Thu Sep 25 19:37:39 CDT 2003
Either Int() or Fix() (depending on how you want to handle negative numbers:
does -99.9 become -100, or -99?)
Get the VBScript docs - there's only 20-30 functions - it's quite quick to
skim the list.
Cheers
Ken
----- Original Message -----
From: "Joel D Canfield" <joel at spinhead.com>
To: <thelist at lists.evolt.org>
Sent: Friday, September 26, 2003 12:37 AM
Subject: [thelist] rounding left of the decimal with VBScript
Just can't find this, and using negative numbers doesn't work: how do I
round 32.1 and 54.3 to 32 and 54 or 30 and 50 with VBScript?
More information about the thelist
mailing list