AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones varias de WINDEV
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Enables you to find out whether a variable or a control is:
  • a numeric (integer, real, currency or numeric).
  • a string that can be converted into numeric.
Example
IsNumeric("143")    // returns True
IsNumeric("1.67")   // returns True
IsNumeric("ABC")    // returns False
IsNumeric("3plus2") // returns True
IsNumeric("7,5")    // returns True
IsNumeric("1D2")    // returns True
IsNumeric("2.5e-2") // returns True
IsNumeric("69 Lyon Rhône") // returns True
IsNumeric("09/01/2007") // returns True
Syntax
<Result> = IsNumeric(<Variable or control>)
<Result>: Boolean
  • True if the specified variable or control is:
    • a numeric
    • a string that can be converted into numeric (by Val for example),
  • False otherwise.
<Variable or control>: Any type
Element to use.
Remarks
  • A buffer is not considered as being a numeric.
  • A duration is not considered as being a numeric.
Business / UI classification: Neutral code
Component: wd290std.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local