Name
isnum — tests if a string represents a number
Calling Sequence
res = isnum(str)
Parameters
- str
A character string or a matrix of character strings.
- res
A boolean matrix.
Description
res = isnum(str)
returns %T if str represents a number
Examples
isnum(['1' , ..
'-1.23' , ..
'+1e+23', ..
'1d+23' , ..
'%pi'])