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