Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only a fraction...
Message
 
 
To
22/08/2001 18:45:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00547675
Message ID:
00547698
Views:
17
>>what is the quickest and easiest way to get just the fraction of a number? ie in the number 21.22, how can i get just the '22' part without the '.'
>>
>>tia - john
>
>or, in addition to Sergey's solution:
>
>
>lnNumber = 25.22
>? int(mod(lnNumber,1)*100)
>
or
? int(lnNumber*100) % 100
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform