cos

(PHP 4, PHP 5)

cosCosine

Beskrivelse

float cos ( float $arg )

cos() returns the cosine of the arg parameter. The arg parameter is in radians.

Parametre

arg

An angle in radians

Returnerings Værdier

The cosine of arg

Eksempler

Eksempel #1 cos() example

<?php

echo cos(M_PI); // -1

?>

Se også

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top