IsFieldPercentNumeric

Determines if the characters in the captured value of the current Field object are n% numeric characters.

Syntax

bool IsFieldPercentNumeric (StrParam)

Parameters

A number (0-100) indicating the percentage that results in a True condition. The default percentage is 100. The value must be numeric, without the percent sign. Smart parameters are supported.

Returns

False if the parameter is non-numeric, if the field is empty, or if the value of the field exceeds the parameter's percentage of numeric characters. Otherwise, True.

Level

Field level.

Details

This determination does not include, and is not limited to, valid decimal and numeric separator characters.
Example
Given the current value is "1,234.56US"
(Percentage of numeric characters is 60%)
IsFieldPercentNumeric("0") returns True
IsFieldPercentNumeric("50") returns True
IsFieldPercentNumeric("60") returns True
IsFieldPercentNumeric("70") returns False
IsFieldPercentNumeric("100") returns False