sbt-idp/cope2n-api/fwd_api/utils/NumberUtils.py
2023-11-30 18:19:06 +07:00

5 lines
123 B
Python
Executable File

def is_number_repl_isdigit(s):
""" Returns True if string is a number. """
return s.replace('.', '', 1).isdigit()