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