Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
| Name | square() |
||||
|---|---|---|---|---|---|
| Examples | double c = square(3.5); // Sets c to 1.29 double d = square(4.5); // Sets d to 4.5 |
||||
| Description | The square() function returns x*x (x floating-point). | ||||
| Syntax | square(x)
|
||||
| Parameters |
|
||||
| Returns | double | ||||
| Usage | Application |

