double

Description

Double precision floating point number. On the 86Duino, this occupies 8 bytes (64 bit) and can be as large as 1.79769E+308 and as low as -1.79769E+308. You may refer to the IEEE 754 standard for more information of floating-point numbers.

Example


double mydouble;
double sensorCalbrate = 1.117;

Syntax


double var = val;

var – your double variable name
val – the value you assign to that variable

See also

float


Language Reference Home

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.