clamp
Core (core.inc)
Description
clamp - Returns value if it is in the range min-max, min if value is lower than min, max if higher than max.
Syntax
clamp ( value, min=cellmin, max=cellmax )
Type
Native