Decimal6
Ecng.Interop
Represents a decimal value with a fixed exponent of -6.
Implements: IFormattable
Methods
op_Explicit(Decimal6) : Decimal6
Explicitly converts a decimal to a Decimal6 value.
- value
- The decimal value.
Returns: A Decimal6 representing the same value.
op_Implicit(Decimal) : decimal
Implicitly converts a Decimal6 value to a decimal.
- value
- The Decimal6 value.
Returns: A decimal representing the same value.
ToString
public override string ToString()
result = decimal6.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.
ToString
public string ToString(string format, IFormatProvider formatProvider)
result = decimal6.ToString(format, formatProvider)
Fields
Mantissa
public long Mantissa
value = decimal6.Mantissa
The mantissa component of the decimal number.
_priceExponent
private static readonly decimal _priceExponent
value = Decimal6._priceExponent
The scaling factor for conversion based on the exponent.