Upperbound
Unit functions upperbound
syntax
- upperbound(unit)
definition
upperbound(unit) results in the maximum allowed value for the unit Argument.
If a range is configured for a unit, the upperbound function results in the maximum value of this range.
If not, the upperbound results in the default maximum value for the Value type of the unit.
applies to
- Unit unit with Numeric or Point value type
example
unit<float32> unit_defined := range(float32, 2.0, 7.5);
parameter<float32> upperbound_unit_defined := upperbound(unit_defined);
result upperbound_unit_defined = 7.5
see also
- Lowerbound
- Boundcenter
- Boundrange
- Upper_bound for the upper bound of a polygon item