clamp
Restrict a numeric value to stay within specified minimum and maximum bounds, preventing it from exceeding defined limits.
Instructions
Clamp a value between a minimum and maximum bound. Ensures the value stays within specified limits. (Domain: arithmetic, Category: comparison)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| min_val | Yes | ||
| max_val | Yes |