how to get number after decim code example Example: how to get number after decimal point decnm = "0"+str(number-int(number))[1:] float(decnm)