Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rounding
Message
 
 
To
22/09/2006 06:43:07
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01155844
Message ID:
01156379
Views:
29
Fred,
round( x + 5, -1 )
>Thank you for your contribution. However your method rounds to the nearest 10 either upwards or downwards depending on the power value. What I wanted was ALWAYS to round upwards to the nearest 10 and I am glad the Gurus gave me a way out.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform