INT Class
Integer numbers are precise numbers that are results of counting and enumerating.

Inheritance Hierarchy

OnlineSystem Object
  MARC.Everest.DataTypes HXIT
    MARC.Everest.DataTypes ANY
      MARC.Everest.DataTypes PDV <OnlineNullable <OnlineInt32 > >
        MARC.Everest.DataTypes QTY <OnlineNullable <OnlineInt32 > >
          MARC.Everest.DataTypes INT

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



public class INT : QTY<Nullable<int>>, 
	IIntegerValue, IQuantity, IPrimitiveDataValue, IAny, IImplementsNullFlavor, 
	ISemanticEquatable, IGraphable, IEquatable<INT>, IComparable<INT>, 


Integer numbers are discrete, the set of integers is infinite but countable. No arbitrary limit is imposed on the range of integer numbers.

This implementation of the INT class (since Everest 1.0) contains operators that enable us to perform arithmetic operations against the data within.


Integer division

INT i1 = 10, input = 0;
    Console.WriteLine("Enter a positive number to divide 10 by:");
    input = (INT)Console.ReadLine();
} while(input <= 0);
Console.WriteLine("10/{0} = {1}", input, i1 / input);

Version Information

Everest Compact Framework

Supported in: 1.2 Compact

Everest Framework

Supported in: 1.2, 1.0

See Also