The Number filter is displayed when you choose Number
in
the Filter pop-up menu in the Test Info pane.
The default Number Changed, Number More than 95%, Number Out of Range, and other filters are based on the Number filter plug-in.
This filter expects the input text to be a valid number, so is typically used after a Find or Block filter to narrow down the text. It converts the text to a number. The filter editor has extra options to ignoring certain characters and use a customizable decimal separator.
It then compares that number against either a fixed number, or the
number from the previous check, plus or minus some delta. It can
compare using is
, is not
, is greater than
, is
less than
, is in range
or is not in range
.
Some filters may display controls to specify the condition to evaluate, others may not display anything, if they are pre-configured to use specific values.
The filter results in either a change or failure, as specified in the filter editor. So you can use this to detect if a disk is getting full, a price has changed by a specified threshold, a file count has changed, or many other uses.
This filter outputs the input text. If the checkbox to detect changes in the Options page of the Nouveau / Éditer Filtre is on, it results in a Changed status if the numeric condition is true, or Unchanged if false. If that checkbox is off, it results in a Failure status if the condition is true, or Unchanged if false. A custom error message can be entered.