Scilab 5.4.1
- Aide Scilab
- Chaînes de caractères
- asciimat
- eval
- evstr
- string
- ascii
- blanks
- char
- convstr
- emptystr
- grep
- isalphanum
- isascii
- isdigit
- isletter
- isnum
- justify
- length
- part
- regexp
- sci2exp
- strcat
- strchr
- strcmp
- strcmpi
- strcspn
- strindex
- strings
- stripblanks
- strncpy
- strrchr
- strrev
- strsplit
- strspn
- strstr
- strsubst
- strtod
- strtok
- tokenpos
- tokens
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
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' , .. 'A' , .. '%pi'])
See Also
- isletter — check that characters of a string are alphabetic letters
- isdigit — check that characters of a string are digits between 0 and 9
- isalphanum — check that characters of a string are alphanumerics
Report an issue | ||
<< isletter | Chaînes de caractères | justify >> |