We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Ensures that the value fits into a range.
Namespace: CodeJam.RangesAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public T Clamp( T value )
VB
Public Function Clamp ( value As T ) As T
F#
member Clamp : value : 'T -> 'T
Type: TA new value that fits into a range specified
Range(T, TKey) StructureCodeJam.Ranges Namespace