Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The 10 multiple immediately higher than a number
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01492886
Message ID:
01492887
Views:
147
This message has been marked as the solution to the initial question of the thread.
Try
lnNumber = 9
? ROUND(lnNumber + 4 ,-1)
>How to find the 10 multiple immediately higher then a number.
>
>e.g.
>
>2 ---------- 10
>15----------20
>17----------20
>21----------30
>41----------50
>
>Seems simple but I cannot imagine a function to do it.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform