double

描述

double 称为双精度浮点数,在 86Duino 上,double 型别占用 8 个位元组 (64 bit) 记忆体,其可以表示的最大范围是 1.79769E+308 到 -1.79769E+308,详细的资料可以参考 二进位浮点数算术标准 IEEE754

范例


double mydouble;
double sensorCalbrate = 1.117;

语法


double var = val;

var 变数名称
val 指派给变数的值

See also

float


语法参考主页面

本页由热血青年 LBU 译自英文版。

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.