Decimal9

Ecng.Interop

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

Реализует: IFormattable

Методы

op_Explicit(Decimal9) : Decimal9

Explicitly converts a decimal to a Decimal9 value.

value
The decimal value.

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

op_Implicit(Decimal) : decimal

Implicitly converts a Decimal9 value to a decimal.

value
The Decimal9 value.

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

ToString
public override string ToString()
result = decimal9.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 = decimal9.ToString(format, formatProvider)

Поля

Exponent
public const sbyte Exponent
value = Decimal9.Exponent

The fixed exponent value (-9).

Mantissa
public long Mantissa
value = decimal9.Mantissa

The mantissa component of the decimal number.

_priceExponent
private static readonly decimal _priceExponent
value = Decimal9._priceExponent

The scaling factor for conversion based on the exponent.