ComfyUI Node
Mpi Clamp
Clamp a number between a minimum and a maximum. With min 200 / max 1000: 400 stays 400, 2000 becomes 1000, 100 becomes 200. INT in, INT out. Leave min at -1000000000 to only clamp the maximum.
Mpi Clamp
- value
- value
◄min_value-1000000000.00►
◄max_value1000.00►
CategoryMpiNodes/Math
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| value | * | — | |
| min_value | FLOAT | -1000000000.00-1000000000–1000000000 | — |
| max_value | FLOAT | 1000.00-1000000000–1000000000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | * | — |