|
-
Jan 7th, 2006, 01:53 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Removing decimal numbers from output
Hi all,
Quick question: When you've calculated a number, if that number has a long decimal, how can you remove it before output?
For example, if the variable "X" is storing the number 480.3392, how can you make it output just 480.33 ?
The problem with this is that A) the number of X is unknown and B) the length of X is unknown, in other words it could be "8" or "4029.48560", so I can't perform a snip using Mid$. I just want to output the whole number and two decimal point numbers.
Any ideas?
Thanks
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
|