I need to check if a number is a whole or a decimal and input it into an if statement ex.
if string_name.isdecimal() = true:
print('warning')
I'm trying to check for any overflow.
I need to check if a number is a whole or a decimal and input it into an if statement ex.
if string_name.isdecimal() = true:
print('warning')
I'm trying to check for any overflow.