float.is_integer()
Return True
if the float instance is finite with integral value, and False
otherwise:
>>> (-2.0).is_integer() True >>> (3.2).is_integer() False
float.is_integer()
Return True
if the float instance is finite with integral value, and False
otherwise:
>>> (-2.0).is_integer() True >>> (3.2).is_integer() False
Please login to continue.