Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check if a string is float python

try:
    float(element)
except ValueError:
    print "Not a float"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #string #float #python
ADD COMMENT
Topic
Name
1+8 =