Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Only a fraction...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00547675
Message ID:
00547679
Views:
8
John,

Don't know if is the quickest and easist, but this will do the trick (i hope)

lnNumber=21.22
? lnNumber-int(lnNumber)

Hugo

>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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform