Cos

Syntax

Math:Cos(angle, return)

Description

Returns the cosine of an angle.

Note

Useful for any geometric problem solving.

Example

function main() {
  Var:Number myNum;
 
  Math:Cos(10, myNum)
  Konsol:Log(myNum) //see the log for -0.839071529076452
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net