Reference for Wiring 1.0 (ALPHA) 0017+. If you have a previous version, use the reference included with your software.
If you see any errors or have any comments, let us know.
Name
double
Examples
double a; // Declare variable "a" of type doublev
a = 1.5387; // Assign "a" the value 1.5387
double b = -2.984; // Declare variable "b" and assign it the value -2.984
double c = a + b; // Declare variable "c" and assign it the sum of "a" and "b"
Description
Datatype for floating-point numbers, a number that has a decimal point. Floating-point numbers are often used to approximate analog and continuous values because they have greater resolution than integers. Floating-point numbers can be as large as 1.7976931348623157E+308. They are stored as 64 bits (8 bytes) of information.
부동소숫점
데이터형입니다.
숫자는 십진 소숫점이
있습니다. 부동소숫점
수는 아나로그 값이나
연속적인 값을
나타낼때 사용됩니다.
부동소수점 수는 64비트
로 저장되며 1.7976931348623157E+308 의
큰 숫자 표시가
가능합니다.