cfdocs

lsIsNumeric

Determines whether a string is a valid representation of a number in the current locale.

lsIsNumeric(String)
returns boolean

Argument Reference

Name Type Required Default Description
String string Yes    

Simple Lsisnumeric Example

Check whether the string is number or not in locale

lsIsNumeric('Ten')

Expected Result: NO

Simple Lsisnumeric Example

Check whether the string is number or not in locale

lsIsNumeric('4678')

Expected Result: YES