Area=(Math.PI*radius^2);
^2 obviously doesnt work, so how would I square the raduis? Thanks
Printable View
Area=(Math.PI*radius^2);
^2 obviously doesnt work, so how would I square the raduis? Thanks
Math.sqrt(number) i think
Thanks a ton
retract this post :/
Math.sqrt finds the square root. Perhaps you want Math.pow instead.
or foo*foo
No sqrt(number) gives square root not square.
Area=(Math.PI*(Math.pow(radius,2)));
[Moderator edit: link removed]