Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if float is integer python

>>> def isFloatInteger(float):
>>> 	return float.is_integer()
>>> isFloatInteger(0.62)
False
>>> isFloatInteger(1.00)
True
 
PREVIOUS NEXT
Tagged: #check #float #integer #python
ADD COMMENT
Topic
Name
8+3 =