isNumber

isNumber() function is the Standard function available in 200OK.

Description : The isNumber function checks if a given text value represents a number and returns TRUE if it does, otherwise FALSE.

Syntax : fx_isNumber(Text)

Example : fx_isNumber(two) returns false, while fx_isNumber(2) returns true.

Scenario : In a form validation system, a web developer is implementing client-side validation to ensure that numeric input fields contain valid numbers. They utilize a function to check if the user-provided text is a valid number. If the text is a valid number, the system accepts it; otherwise, it prompts the user to enter a valid numeric value.

Request Side :

Response Side :

Last updated