Table of Contents

Method ClampD

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ClampD(double, double, double)

Returns double value clamped to the inclusive range of min and max.

public static double ClampD(double v, double min, double max)

Parameters

v double

The value to be clamped.

min double

The lower bound of the result.

max double

The upper bound of the result.

Returns

double