Skip to content

Lowerbound

cicada edited this page Dec 7, 2022 · 8 revisions

title: Lowerbound permalink: /Lowerbound/

Unit functions lowerbound

syntax

  • lowerbound(unit)

definition

lowerbound(unit) results in the minimum allowed value for the unit argument.

If a range is configured for a unit, the lowerbound function results in the minimum value of this range.

If not, the lowerbound results in the default minimum value for the value type of the unit.

applies to

since version

5.15

example

unit unit_defined            := range(float32,2.0, 7.5); unit lowerbound_unit_defined := lowerbound(unit_defined);

result lowerbound_unit_defined = 2.0

see also

Clone this wiki locally