ValueError: invalid literal for int() with base 10

To Convert a Floating value to a Number in Python or Jython use the below method

 int(float(259.0))

The output would be 259

Comments are closed.