Android Question Fraction of a number

Pietro Pancino

Member
Licensed User
Longtime User
Hi,
I just need to get the fraction of a floating point number...
for example:
dim i as double = 1.25
log(rnd(i)) ---> display 1
how can I get the .25 ?
I'm sure it's basic but I didn't found how to get it !
:)
 
Top