I have a decimal number
I want to recived just the numbers after the "."
for example
100.26 >>> 26
1022.5 >>>5
10>>>0
I try with
num = "300.25"
d = num - int(num)
but its not good becuse its get "0.25" and I want just "25"
thank for any idea...
I want to recived just the numbers after the "."
for example
100.26 >>> 26
1022.5 >>>5
10>>>0
I try with
num = "300.25"
d = num - int(num)
but its not good becuse its get "0.25" and I want just "25"
thank for any idea...