Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    cosh »
    « ceil

    cos

    (PHP 4, PHP 5, PHP 7, PHP 8)

    cosCosine

    Description

    cos(float$num):float

    cos() returns the cosine of thenum parameter. Thenum parameter is in radians.

    Parameters

    num

    An angle in radians

    Return Values

    The cosine ofnum

    Examples

    Example #1cos() example

    <?php

    echocos(M_PI);// -1

    ?>

    See Also

    Found A Problem?

    Learn How To Improve This PageSubmit a Pull RequestReport a Bug
    add a note

    User Contributed Notes

    There are no user contributed notes for this page.
    To Top
    and to navigate •Enter to select •Esc to close
    PressEnter without selection to search using Google

    [8]ページ先頭

    ©2009-2025 Movatter.jp