GoDigram for .NET Framework and .NET Core
Northwoods.Go.Instruments Namespace / Indicator Class / QuantizeValue Method
In This Topic
    QuantizeValue Method
    In This Topic
    A function used to ensure valid values within the quantized value system.
    Syntax
    public virtual double QuantizeValue( 
       double val
    )

    Parameters

    val

    Return Value

    If Quantized is true, returns an acceptable quantized value that is closest to the given value. Otherwise it just returns the given value.
    See Also