pjs.testNumeric()
Â
The pjs.testNumeric() API provides the ability to check if a character value contains a number.Â
Parameters
Value
Return Value
Boolean; true if the value contains a number; false if the value does not contain a number.
Example
pjs.testNumeric("12345"); //true
pjs.testNumeric("12345A"); //false
pjs.testNumeric("55.55"); //true
pjs.testNumeric(" 55.55 "); //true
Â
RPG Equivalent
TESTN