IsNumber
Determines whether the specified percentage of characters in a located word is numbers (defaults to 100%)
Syntax
bool IsNumber (StrParam)
Parameters
An integer (0-100) indicating the minimum percentage of characters that must be numeric. If no parameter is specified, the value defaults to 100 percent; all characters must be numeric. Smart parameters are supported.Returns
True if the located value meets the parameter's requirement for an integer. Otherwise, False.Level
Page or field level.Details
Using the current location of a previously located word or phrase, this action determines if the characters are numeric. By testing the type of characters recognized in the current word or phrase, it is possible for an application to determine it has located the type of data that is required, and then take subsequent actions based on the result of the test. This action does not consider the decimal symbol, digit grouping symbol or a currency symbol to be numeric. Regardless of being called at the page or field level, this action operates on the recognized text for the current page.- Example
WordFind("Total") GoRightWord("1") IsNumber("100") If the located word's recognized value is: #755 IsNumber("75") returns TRUE IsNumber("80") returns FALSE