Decimal5

Ecng.Interop

Represents a decimal value with a fixed exponent of -5.

Реализует: IFormattable

Методы

op_Explicit(Decimal5) : Decimal5

Explicitly converts a decimal to a Decimal5 value.

value
The decimal value.

Возвращает: A Decimal5 representing the same value.

op_Implicit(Decimal) : decimal

Implicitly converts a Decimal5 value to a decimal.

value
The Decimal5 value.

Возвращает: A decimal representing the same value.

ToString
public override string ToString()
result = decimal5.ToString()

Returns a string representation of the tuple, with values separated by commas.

Возвращает: A string representing the tuple's values.

ToString
public string ToString(string format, IFormatProvider formatProvider)
result = decimal5.ToString(format, formatProvider)

Поля

Exponent
public const sbyte Exponent
value = Decimal5.Exponent

The fixed exponent value (-5).

Mantissa
public long Mantissa
value = decimal5.Mantissa

The mantissa component of the decimal number.

_priceExponent
private static readonly decimal _priceExponent
value = Decimal5._priceExponent

The scaling factor for conversion based on the exponent.