Cos

Returns the cosine of an angle entered in radians

Method Signature

Cos(number=[numeric])

Arguments

Argument
Type
Required
Description
Default

number

numeric

true

The number to calculate the cosine of (in radians).

Examples

Cosine of 0.3

Run Example

cos( .3 );

Result: 0.9553364891256059809876433064346201717853546142578125

Additional Examples

Run Example

writeDump( cos( 90 ) );

Last updated

Was this helpful?