Decimal7

Ecng.Interop

Represents a decimal value with a fixed exponent of -7.

Implementa: IFormattable

Métodos

op_Explicit(Decimal7) : Decimal7

Explicitly converts a decimal to a Decimal7 value.

value
The decimal value.

Devuelve: A Decimal7 representing the same value.

op_Implicit(Decimal) : decimal

Implicitly converts a Decimal7 value to a decimal.

value
The Decimal7 value.

Devuelve: A decimal representing the same value.

ToString
public override string ToString()
result = decimal7.ToString()

Returns a string representation of the tuple, with values separated by commas.

Devuelve: A string representing the tuple's values.

ToString
public string ToString(string format, IFormatProvider formatProvider)
result = decimal7.ToString(format, formatProvider)

Campos

Exponent
public const sbyte Exponent
value = Decimal7.Exponent

The fixed exponent value (-7).

Mantissa
public long Mantissa
value = decimal7.Mantissa

The mantissa component of the decimal number.

_priceExponent
private static readonly decimal _priceExponent
value = Decimal7._priceExponent

The scaling factor for conversion based on the exponent.