decimal.decimal to float python code example Example: what should you call a decimal value in python x = 13.949999999999999999 g = float("{:.2f}".format(x))