Difference between revisions of "Sqr"
From Mesham
Jump to navigationJump to searchm |
m (5 revisions imported) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
This sqr(d) function will return the result of squaring ''d''. | This sqr(d) function will return the result of squaring ''d''. | ||
| − | * '''Pass:''' A | + | * '''Pass:''' A [[Double]] to square |
| − | * '''Returns:''' A | + | * '''Returns:''' A [[Double]] representing the squared result |
== Example == | == Example == | ||
| − | var a:=sqr(3.45); | + | #include <maths.h> |
| + | |||
| + | function void main() { | ||
| + | var a:=sqr(3.45); | ||
| + | }; | ||
| + | |||
| + | ''Since: Version 0.41b'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] | ||