Difference between revisions of "Sqr"
From Mesham
Jump to navigationJump to searchm |
m |
||
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 == | ||
Line 10: | Line 10: | ||
#include <maths.h> | #include <maths.h> | ||
var a:=sqr(3.45); | var a:=sqr(3.45); | ||
+ | |||
+ | ''Since: Version 0.41b'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] |