DoubleRange.Clamp

Method in DoubleRange

Declaration

public double Clamp(double value)

Description

Clamps a value to the range.

Parameters

valueThe value to clamp.

Returns

doubleThe clamped value.