|
-
Oct 13th, 2000, 06:51 PM
#1
Thread Starter
Fanatic Member
hello,
how can I stop a number from looking like this:100.00103032?
I need to format it like $100.00
thanks
-
Oct 13th, 2000, 07:16 PM
#2
transcendental analytic
Code:
msgbox format (100.00103032,"$0.00")
Use the format function.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 13th, 2000, 07:56 PM
#3
Frenzied Member
You can't use Format in VBScript.
Code:
MyNumber = 100.00103032
MyCurrency = FormatCurrency(MyNumber, 2)
'MyCurrency contains $100.00
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..
-
Oct 13th, 2000, 08:03 PM
#4
transcendental analytic
ah, my bad, didn't know that
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 13th, 2000, 08:13 PM
#5
Thread Starter
Fanatic Member
SUPER COOL
thanks,
right after I posted I relized I didn't mention I was using VBscript.
thanks Monte96
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
|