INumberRange<T>.Clamp
Method in INumberRange<T>
Declaration
T Clamp(T value)
Description
Clamps a value to the range.
Parameters
value | The value to clamp. |
Returns
T | The clamped value. |
T Clamp(T value)
Clamps a value to the range.
value | The value to clamp. |
T | The clamped value. |