fn clamp_to_one(number: NumberOrPercentage) -> NumberOrPercentage
Expand description

Clamp the value to 1 if the value is over 100%.