UM .NET API  6.16
com.latencybusters.pdm.PDMDecimal Class Reference

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...
 

Detailed Description

A representation of a decimal with an exponent and mantissa (in the form: a x 10^b)

Constructor & Destructor Documentation

com.latencybusters.pdm.PDMDecimal.PDMDecimal ( long  mantissa,
sbyte  exponent 
)

PDMDecimal constructor.

Parameters
mantissais the "a" component in the form: a x 10^b
exponentis the "b" component in the form: a x 10^b

Member Function Documentation

override System.String com.latencybusters.pdm.PDMDecimal.ToString ( )

concatenates the mantissa and exponent into a string

Returns
the string representing this PDMDecimal

Property Documentation

virtual sbyte com.latencybusters.pdm.PDMDecimal.Exponent
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().

virtual long com.latencybusters.pdm.PDMDecimal.Mantissa
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().


The documentation for this class was generated from the following file: