PDA

Click to See Complete Forum and Search --> : Format Numbers


Hunter
Sep 22nd, 2000, 09:44 AM
This could be a simple question, but anyway,...

How could I format a number that has been returned using an ASP to two places of decimals by using VBScript?

Cheers...

monte96
Sep 22nd, 2000, 09:57 AM
FormatNumber(expression, 2)

Lucky34
Sep 22nd, 2000, 10:06 AM
I also use the following code:

format(expression, "#.00")

that works well

monte96
Sep 22nd, 2000, 10:15 AM
Not in VBScript it doesn't....