There is is_integer
function in python float type:
>>> float(1.0).is_integer()True>>> float(1.001).is_integer()False>>>
There is is_integer
function in python float type:
>>> float(1.0).is_integer()True>>> float(1.001).is_integer()False>>>