Skip to main content
Version: Next

Clamp Number

Braces number within the inclusive lower and upper bounds

Description

Braces number within the inclusive lower and upper bounds.

Example:

  • inputs

    • number = -10
    • lower = -5
    • upper = 5
  • outputs

    • result = -5

Inputs

  • Number (Number): The number to clamp
  • Lower (Number): The lower bound
  • Upper (Number): The upper bound

Outputs

  • Result (Number): The clamped number