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); unit<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 polygon item