[thelist] rounding left of the decimal with VBScript

Joel D Canfield joel at spinhead.com
Fri Sep 26 00:48:24 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.

Did that, and there's no mention of rounding to places *left* of the
decimal, just truncating and various types of rounding to the *right* of
the decimal.

Probably just go with the 'divide by 10^x, round, multiply by 10^x'

More information about the thelist mailing list