Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding down
Message
 
To
20/06/2000 10:04:59
Erin Eby
Mission Critical Software
Gainesville, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00382176
Message ID:
00382181
Views:
26
Have you looked at INT(). It doesn't round, just returns the integer portion, so 2.5 becomes 2 and 2.9 becomes 2 and 2.0 becomes 2.

hth

>A random question...is there any way to round down when returning only the numbers to the left of the decimal? For example, the number being returned from an equation is 2.5 and I only need the 2 part. TIA if you have any suggestions for me... :)
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform