|
-
Apr 14th, 2001, 04:59 PM
#1
Thread Starter
Lively Member
I noticed this answered in a previous thread but it did not work for me.
If I do a calculation of entries in several text boxes and have a msgbox popup with the answer.How do I restrict the decimal places.Ie in one calculation I need 4 dec places and in another I want it restricted to none.At the moment it has about 20.
Thankyou for any assistance.
-
Apr 14th, 2001, 05:02 PM
#2
Monday Morning Lunatic
Code:
MsgBox Format$(number, "#0.####")
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
May 3rd, 2001, 04:41 AM
#3
Registered User
or even easier is formatnumber(number, number decimal places)
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
|