double

Module: ecereCOM
Type: Basic Data Type

Description

Core C double precision floating-point real number data type. A double ranges from 2.2250738585072014e-308 to 1.7976931348623158e+308.

Properties and Members

  isNanbool
  isInfbool
  signBitint

Non-Virtual Methods

  inf
  nan

Usage


Used in the declaration section of code, which is before any statements.

Example

double aDouble; // A stand alone declaration of a double.
double a, b; // Declaring two doubles at the same time.
double c = 12.1234567899; // Declaring and initializing a double at the same time.

Remarks


Unlike other languages, the double data type is actually a class.

double is equivalent to a double in C.

See Also


bool, byte, char, char *, enum, float, int, int64, uint, uint16, uint32, uint64, OnCompare(), OnCopy(), OnDisplay(), OnEdit(), OnFree(), OnGetDataFromString(), OnGetString(), OnSaveEdit(), OnSerialize(), OnUnserialize()