NullableDoubleExtensions extension

on

Methods

limitMax(double maxValue) double
Determines the maximum limitation of two values.
limitMin(double minValue) double
Determines the minimum limitation of two values.
limitWithin(double minValue, double maxValue) double
Determines the minimum and maximum limitation of two values. If this value is between {minValue} and {maxValue}, this value is returned. If this value is smaller than {minvalue}, {minvalue} is returned. If this value is greater than {maxvalue}, {maxvalue} is returned.