ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
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
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help