code: def __float(value):
      '''validate a float'''
      valid, _value = False, value
      try:
          _value = float(value)
          valid = True
      except ValueError:
          pass
      return (valid, _value, 'float'f __float(value):
      '''validate a float'''
      valid, _value = False, value
      try:
          _value = float(value)
          valid = True
      except ValueError:
          pass
      return (valid, _value, 'float')
docs: validate a float