Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Percent Range

Grooper Object Grooper.IP

Defines a range of percentage values.

Remarks

The Percent Range class is used to represent a numeric interval with optional lower and upper bounds, using percentage values. This is commonly used in Grooper to configure settings that require a minimum and/or maximum percentage, such as thresholds, confidence levels, or proportional constraints.

The range is defined by the 'Minimum' and 'Maximum' properties, which can be set independently. Either property may be left unset (null), in which case the range is considered unbounded on that side. For example, setting only 'Minimum' creates a range of >= Minimum, while setting only 'Maximum' creates a range of <= Maximum. If both are unset, the range is considered empty.

When configuring a Percent Range, you can specify the values directly, or use the text entry format supported by the property grid. This format allows for flexible input, such as:

50% - 80% >= 60% <= 90% 75%

The Percent Range is used throughout Grooper wherever a percentage interval is needed, and supports validation to ensure that the minimum is not greater than the maximum. When configuring, consider the context in which the range is used, and set the bounds appropriately to control the allowed values.

Usage Notes

  • If 'Minimum' is greater than 'Maximum', a validation error will be generated.
  • Leaving both 'Minimum' and 'Maximum' unset results in an empty range, which may be interpreted as "no constraint" or "not set" depending on the context.
  • The string representation of the range is user-friendly and adapts to the values set, making it easy to review configurations.

Properties

NameTypeDescription

Used By

Notification