I need my code to only accept float values

前端 未结 0 1523
死守一世寂寞
死守一世寂寞 2021-01-15 06:05

if datatype == "Float": if not data: if not data: print(message) return False,data else: return True,data

I\'ve tried using .isdecimal but it is not working

相关标签:
回答
  • 消灭零回复
提交回复
热议问题