python isdecimal
Python hosting: Host, run, and code Python in the cloud!
Return True if string is decimal.
Syntax
The format is:
str.isdecimal() |
Parameters
None
Example
str = u"1.234" |
Result:
False
True
Posted in Documentation
Return True if string is decimal.
str.isdecimal() |
str = u"1.234" |
Result:
False
True
Leave a Reply: