syntax:functions:square
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
syntax:functions:square [2019/10/16 15:06] – dmitry | syntax:functions:square [2021/08/11 15:36] (current) – [Examples] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Square(number) ===== | + | ====== Square(number) ====== |
+ | Category: | ||
- | The square of a number. | + | \\ |
+ | =====Description===== | ||
+ | This function returns the square of //number//. | ||
- | ^ | + | \\ |
- | | square(25) | 625 | | + | =====Arguments===== |
- | | square(0 - 10) | | + | ^Argument^Type^Description^ |
+ | |number|Number|The value to be squared | ||
+ | \\ | ||
+ | **Return value type: | ||
+ | |||
+ | \\ | ||
+ | =====Examples===== | ||
+ | |||
+ | square(2) //Returns 4 | ||
+ | |||
+ | square(25) // | ||
+ | |||
+ | | ||
+ | |||
+ | square(12.4) //Returns 153.76 | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
+ | * [[syntax: | ||
- | Note: keep in mind that EasyMorph doesn' |
syntax/functions/square.1571252786.txt.gz · Last modified: 2019/10/16 15:06 by dmitry