|
-
Sep 22nd, 2000, 09:44 AM
#1
Thread Starter
New Member
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...
-
Sep 22nd, 2000, 09:57 AM
#2
Frenzied Member
Code:
FormatNumber(expression, 2)
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Sep 22nd, 2000, 10:06 AM
#3
New Member
I also use the following code:
format(expression, "#.00")
that works well
-
Sep 22nd, 2000, 10:15 AM
#4
Frenzied Member
Not in VBScript it doesn't....
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|