Decimal4
Ecng.Interop
Represents a decimal value with a fixed exponent of -4.
Implementiert: IFormattable
Methoden
op_Explicit(Decimal4) : Decimal4
Explicitly converts a decimal to a Decimal4 value.
- value
- The decimal value.
Rückgabe: A Decimal4 representing the same value.
op_Implicit(Decimal) : decimal
Implicitly converts a Decimal4 value to a decimal.
- value
- The Decimal4 value.
Rückgabe: 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.
Rückgabe: A string representing the tuple's values.
ToString
public string ToString(string format, IFormatProvider formatProvider)
result = decimal4.ToString(format, formatProvider)
Felder
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.