Difference between revisions of "Sqr"
From SCAR Divi Manual
(→Description) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function Sqr(X: Extended): Extended; | + | function Sqr(const X: Extended): Extended; |
</source> | </source> | ||
Line 25: | Line 25: | ||
*[[Sqrt]] | *[[Sqrt]] | ||
*[[Pow]] | *[[Pow]] | ||
+ | *[[Exp]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Math Functions]] | [[Category:Math Functions]] |
Latest revision as of 19:55, 30 August 2011
Definition
function Sqr(const X: Extended): Extended;
Availability
SCAR Divi 3.00 > Current
Description
Returns the square number value of X.
Example
begin WriteLn(Sqr(2)); WriteLn(Sqr(4)); end.
Output:
4 16