Decimal12
Ecng.Interop
Represents a decimal value with a fixed exponent of -12.
実装: IFormattable
メソッド
op_Explicit(Decimal12) : Decimal12
Explicitly converts a decimal to a Decimal12 value.
- value
- The decimal value.
戻り値: A Decimal12 representing the same value.
op_Implicit(Decimal) : decimal
Implicitly converts a Decimal12 value to a decimal.
- value
- The Decimal12 value.
戻り値: A decimal representing the same value.
ToString
public override string ToString()
result = decimal12.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 = decimal12.ToString(format, formatProvider)
フィールド
Mantissa
public long Mantissa
value = decimal12.Mantissa
The mantissa component of the decimal number.
_priceExponent
private static readonly decimal _priceExponent
value = Decimal12._priceExponent
The scaling factor for conversion based on the exponent.