Table of Contents

Struct MathHelper.DecimalInfo

Namespace
Ecng.Common
Assembly
Ecng.Common.dll

Represents detailed information about a decimal value.

public struct MathHelper.DecimalInfo
Inherited Members
Extension Methods

Fields

Mantissa

The underlying mantissa of the decimal.

public long Mantissa

Field Value

long

Precision

The total number of digits in the decimal.

public int Precision

Field Value

int

Scale

The scale (number of digits after the decimal point) of the decimal.

public int Scale

Field Value

int

TrailingZeros

The count of trailing zeros in the decimal.

public int TrailingZeros

Field Value

int

Properties

EffectiveScale

Gets the effective scale (scale minus trailing zeros) of the decimal.

public int EffectiveScale { get; }

Property Value

int