FormatNumber
Format a number.
Syntax
FormatNumber(number [,DecimalPlaces [,IncludeLeadingZero
[,UseParenthesis [, GroupDigits]]]] )
Key
number The number to format.
DecimalPlaces Number of digits to display after the decimal point.
IncludeLeadingZero Include a leading zero for numbers <1 and > -1
UseParenthesis Show negative numbers in Parentheis (500) = -500
GroupDigits Group large numbers with commas (or the regional delimiter)
Example
Set intDemo = 150000.56
WScript.Echo FormatNumber(intDemo,1)