UM .NET API
6.16.1
|
A representation of a decimal with an exponent and mantissa (in the form: a x 10^b) More...
Public Member Functions | |
PDMDecimal (long mantissa, sbyte exponent) | |
PDMDecimal constructor. More... | |
override System.String | ToString () |
concatenates the mantissa and exponent into a string More... | |
Properties | |
virtual long | Mantissa [get] |
the mantissa component of the PDMDecimal More... | |
virtual sbyte | Exponent [get] |
the exponent component of the PDMDecimal More... | |
A representation of a decimal with an exponent and mantissa (in the form: a x 10^b)
com.latencybusters.pdm.PDMDecimal.PDMDecimal | ( | long | mantissa, |
sbyte | exponent | ||
) |
PDMDecimal constructor.
mantissa | is the "a" component in the form: a x 10^b |
exponent | is the "b" component in the form: a x 10^b |
override System.String com.latencybusters.pdm.PDMDecimal.ToString | ( | ) |
concatenates the mantissa and exponent into a string
|
get |
the exponent component of the PDMDecimal
Values: the exponent is the "b" component in the form: a x 10^b
Referenced by com.latencybusters.pdm.PDMSerializer.writeDecimal().
|
get |
the mantissa component of the PDMDecimal
Values: the mantissa is the "a" component in the form: a x 10^b
Referenced by com.latencybusters.pdm.PDMSerializer.writeDecimal().