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