REAL Class
Represents fractional numbers.

Inheritance Hierarchy

OnlineSystem Object
  MARC.Everest.DataTypes HXIT
    MARC.Everest.DataTypes ANY
      MARC.Everest.DataTypes PDV <OnlineNullable <OnlineDouble > >
        MARC.Everest.DataTypes QTY <OnlineNullable <OnlineDouble > >
          MARC.Everest.DataTypes REAL

Namespace: MARC.Everest.DataTypes
Assembly: MARC.Everest.Phone (in MARC.Everest.Phone.dll) Version: 1.5.0.0 (1.5.0)

Syntax

C#

public class REAL : QTY<Nullable<double>>, 
	IRealValue, IPrimitiveDataValue, IAny, IImplementsNullFlavor, ISemanticEquatable, 
	IGraphable, IEquatable<REAL>, IComparable<REAL>, 
	IImplicitInterval<REAL>

Remarks

Typically used whenever quantities are measured, estimated or computed from other real numbers. The typical representation is decimal where the number of significant decimal digits is known as the precision

Examples

An example of a REAL

Example of REAL Operations

REAL radius = 3.0f,
    parimeter = 2 * Math.PI * radius;
parimeter.Precision = 4;
IVL<REAL> ivl = parimeter.ToIVL();
Console.WriteLine("Parimeter is between {0} and {1}", ivl.Low, ivl.High);
// Output: Parimeter is between 18.4895 and 18.4896

Version Information

Everest Compact Framework

Supported in: 1.2 Compact

Everest Framework

Supported in: 1.2, 1.0

See Also

QTY