Asked By – Alex Gordon
How do I get the numbers after a decimal point?
For example, if I have
5.55, how do i get
Now we will see solution for issue: How to get numbers after decimal point?
An easy approach for you:
number_dec = str(number-int(number))[1:]