Decimal4
Ecng.Interop
Represents a decimal value with a fixed exponent of -4.
Реализует: IFormattable
Методы
op_Explicit(Decimal4) : Decimal4
Explicitly converts a decimal to a Decimal4 value.
- value
- The decimal value.
Возвращает: A Decimal4 representing the same value.
op_Implicit(Decimal) : decimal
Implicitly converts a Decimal4 value to a decimal.
- value
- The Decimal4 value.
Возвращает: A decimal representing the same value.
ToString
public override string ToString()
result = decimal4.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 = decimal4.ToString(format, formatProvider)
Поля
Mantissa
public long Mantissa
value = decimal4.Mantissa
The mantissa component of the decimal number.
_priceExponent
private static readonly decimal _priceExponent
value = Decimal4._priceExponent
The scaling factor for conversion based on the exponent.