EsbDecimals - a Free Subset of ESBPCS for .NET

CompareOps.GetPrecision Method

Returns the Precision Value to use using the Default Precision.

Methods for double, float and decimal included, as well as versions that allow you to specify the Precision.

Overload List

Returns the Precision Value to use using the Default Precision. See DecimalPrecisionDef.

public static decimal GetPrecision(decimal,decimal);

Returns the Precision Value to use using the specified Precision

public static decimal GetPrecision(decimal,decimal,decimal);

Returns the Precision Value to use using the Default Precision. See DoublePrecisionDef.

public static double GetPrecision(double,double);

Returns the Precision Value to use using the specified Precision.

public static double GetPrecision(double,double,double);

Returns the Precision Value to use using the Default Precision. See FloatPrecisionDef.

public static float GetPrecision(float,float);

Returns the Precision Value to use using the specified Precision

public static float GetPrecision(float,float,float);

See Also

CompareOps Class | Esb.Math Namespace