Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python test if you can convert to int

def isfloat(value):
  try:
    float(value)
    return True
  except ValueError:
    return False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #test #convert #int
ADD COMMENT
Topic
Name
4+4 =