double \ Language (API) \ Wiring ALPHA 1.0
Search wiring.org.co:
Language (A-Z) \
Libraries \
Environment \
Learning \
Hardware
Reference for Wiring version 0027+. 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
// Declare variable "a" of type double
double a;
// Assign to "a" the value 1.5387
a = 1.5387;
// Declare variable "b" and assign it the value -2.984
double b = -2.984;
// Declare variable "c" and assign it the sum of "a" and "b"
double c = a + 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.
Syntax
double var
double var = value
Parameters
var
variable name referencing the float
value
any floating-point value
Usage
Application
Related
byteintunsigned intlongunsigned longfloat
Updated on September 17, 2010 12:40:15pm PDT
Wiring is an open project initiated by Hernando Barragán. It is developed by a small team of volunteers.
© Info, Processing © Info
Wyszukiwarka
Podobne podstrony:
Forgotten Realms Double Diamond, 02 The Paladins (v0 9)BasicFileChooserUI DoubleClickListenerDoubleBufferDoubleArc2D DoubleDoubleHolderPoint2D DoubleFantasy Double?ntasyDouble CrossCubicCurve2D DoubleQuadCurve2D DoubleStarfist Double JeopardyDoubleDoublewięcej podobnych podstron