beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

Clamp Op



Clamp
Namespace: Ops.Math

Op author: pandur

Test Patches: 1 Test

Makes sure a value is within range cuts off the rest




Inputs

val (Number)

The number you want to make sure is in range [Minimum, Maximum]

min (Number)

The minimum the Result will be

max (Number)

The maximum the Result will be

ignore outside values (boolean /Number)

Outputs

result (Number)

The clamped value of Val


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using Clamp

  • Examples (1)
  • Public
  • My Patches