Double
 
 
 

A (double-precision 64-bit) floating point number has a decimal point and takes up twice as much memory as a single precisionFloating-point number. This data type is often simply called Double.

See Comparing Data Types across Languages for a table that compares the floating point data type across several different languages.

Language

Comments

VBScript

The VBScript Double type contains a number as large as ± 3.402823x1038, and as small as ± 1.401298x10-45.

JScript

JScript uses a generic "number" data type which corresponds to integer values as well as floating point values. There is no specific double-precision floating-point type in JScript.

PerlScript

PerlScript does not have a specific type that represents floating-point values.

Python

Python uses float to represent both single and double floating-point values.

C++

The C++ API uses double (8-byte double floating-point number).

C#

The C# double type (System.Double) uses 15-16 digit precision and is in the approximate range ±5.0 ° 10-324 to ±1.7 ° 10308.

Tip

See Comparing Data Types across Languages for a table that compares the double-precision floating point data type across several different languages.

For high-level information about how these languages approach data type in general, see one of the following topics: