mathWrap

Category: Mathematics

Syntax:

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


Parameters

Returns

Double



Summary

Wraps a value within a range using modulo.

Takes value (value to wrap), min (minimum bound), max (maximum bound).

Returns the value wrapped into the range [min, max) using modulo arithmetic.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn