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
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!