Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple math problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01122177
Message ID:
01122186
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
? INT(VAL(RTRIM(TRANSFORM(140400),"0")))
>
>If we have these numbers
>123000
>130000
>140400
>
>and we need 123, 13, 1404 (e.g. remove the trailing zeros), can we do it without loop? I don't see a way after thinking 3 minutes on the problem.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform