<< isletter Strings justify >>

Scilab help >> Strings > isnum

isnum

tests if a string represents a number

Calling Sequence

res = isnum(str)

Arguments

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'])

See Also

Authors

<< isletter Strings justify >>