DecimalInfo
Ecng.Common.MathHelper
Represents detailed information about a decimal value.
Propriedades
EffectiveScale
public int EffectiveScale { get; }
value = decimalInfo.EffectiveScale
Gets the effective scale (scale minus trailing zeros) of the decimal.
Exponent
public int Exponent { get; }
value = decimalInfo.Exponent
Gets the exponent of the decimal.
Campos
Precision
public int Precision
value = decimalInfo.Precision
The total number of digits in the decimal.
Scale
public int Scale
value = decimalInfo.Scale
The scale (number of digits after the decimal point) of the decimal.
TrailingZeros
public int TrailingZeros
value = decimalInfo.TrailingZeros
The count of trailing zeros in the decimal.