PHP 8.0.0 Released!

cos

(PHP 4, PHP 5, PHP 7)

cosCosine

Açıklama

cos ( float $arg ) : float

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

Değiştirgeler

arg

An angle in radians

Dönen Değerler

The cosine of arg

Örnekler

Örnek 1 cos() example

<?php

echo cos(M_PI); // -1

?>

Ayrıca Bakınız

add a note add a note

User Contributed Notes

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