ScaledNumber

StockSharp.Fix.Native

Scaled numbers, like floating point numbers are represented as a mantissa and an exponent.

Constructores

ScaledNumber(int, long)

Scaled numbers, like floating point numbers are represented as a mantissa and an exponent.

exponent
Exponent.
mantissa
Mantissa.

Propiedades

AsDecimal : decimal

The numerical value is obtained by multiplying the mantissa with the base-10 power of the exponent.

AsDouble : double

The numerical value is obtained by multiplying the mantissa with the base-10 power of the exponent.

Métodos

op_Addition(ScaledNumber, ScaledNumber) : ScaledNumber

Add the two objects ScaledNumber.

n1
First object ScaledNumber.
n2
Second object ScaledNumber.

Devuelve: The result of addition.

ToString() : string

Преобразовать к строковому представлению.

Devuelve: Строковое представление.

Campos

Exponent : int

Exponent.

Mantissa : long

Mantissa.