mathClamp

Category: Mathematics

Syntax:

mathClamp:Double(value:Double, min:Double, max:Double)


Parameters

Returns

Double



Summary

Restricts a value to a specified range.

Takes value (number to constrain), min (minimum allowed value), max (maximum allowed value).

Returns the value constrained to be between min and max (inclusive).

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn