Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Cadeias de Caracteres (Strings) > isnum

isnum

testa se um string representa um número

Seqüência de Chamamento

res = isnum(str)

Parâmetros

str

um string ou matriz de strings

res

matriz de booleanos

Descrição

res = isnum(str)retorna %T se str representa um número

Exemplos

isnum(['1'     , ..
       '-1.23' , ..
       '+1e+23', ..
       '1d+23' , ..
       '%pi'])

Ver Também

  • isletter — verifica se os caracteres de um string são letras do alfabeto
  • isdigit — checa se os caracteres de um string são números entre 0 e 9
  • isalphanum — verifica se os caracteres de um string são alfanuméricos

Autores

  • P.M
Report an issue
<< isletter Cadeias de Caracteres (Strings) justify >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 25 08:52:32 CET 2020