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

Double Range

Grooper Object Grooper.IP

Defines a range of 64-bit floating point values.

Remarks

The Double Range class is used to represent a numeric range with optional lower and upper bounds, using 64-bit floating point values. This is commonly used in Grooper to configure settings that require a minimum and/or maximum value, such as thresholds, tolerances, or value 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 Double 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:

5.0 - 10.0 >= 3.5 <= 7.2 8.0

The Double Range is used throughout Grooper wherever a numeric 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