Determines whether a string can be converted to a numeric value. Supports numbers in U.S. number format. For other number support use LSIsNumeric.

isNumeric(String) → returns boolean

Argument Reference for the isNumeric function

Name Required Default Description
String Yes

Examples sample code invoking the isNumeric function

Integer isNumeric


Expected Result: YES

String isNumeric


Expected Result: NO

Scientific Notation

The number 5e2 is scientific notation for 5 x 10^2 aka 500


Expected Result: YES

Fork me on GitHub