Number Filter
Description
This filter will ensure that the specified prefix:key value is a number, and that it matches the required criteria.
This macro must be used within a reporter macro.
Parameters
Name | Required | Available In | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|---|
[default] /key | Yes | Server, Data Center | No | The key value to filter on. | |
minValue (Minimum Value) | Optional | Server, Data Center | No | If specified, the number must be greater than or equal to the specified value. | |
maxValue (Maximum Value) | Optional | Server, Data Center | No | If specified, the number must be less than or equal to the specified value. | |
aboveValue | Optional | Server, Data Center | No | The key value must be above this. (Exclusive) | |
belowValue | Optional | Server, Data Center | No | The key value must be below this. (Exclusive) | |
value (Exact Value) | Optional | Server, Data Center | No | (Since 3.4.0) The exact value the key value must equal. | |
decimal | Optional | Server, Data Center | No | false | If specified, setting it to true will require that the number is a decimal type, and setting it to false will require it is a whole number. By default either is accepted. |
required | Optional | Server, Data Center | No | false | If set to true, the key value must have a value of some sort - it may not be empty. |
Editor View
Tutorial Examples