IsFieldPercentNonNumeric
Determines if any of the characters in the captured value of the current Field object are n% not numeric characters.
Syntax
bool IsFieldPercentNonNumeric (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 includes and is not limited to valid decimal and numeric separator characters.- Example
Given the current value is "1,234.56US" (Percentage of non-numeric characters is 40%) IsFieldPercentNonNumeric("0") returns True IsFieldPercentNonNumeric("30") returns True IsFieldPercentNonNumeric("40") returns True IsFieldPercentNonNumeric("70") returns False IsFieldPercentNonNumeric("100") returns False