Spec-Zone.ru › ColdFusion

cos

Calculates the cosine of an angle that is entered in radians.

cos(number) → returns numeric

  • CF
  • Lucee
  • BL 1.0.0+
  • See Also: acos asin atn exp log log10 sin tan

    Argument Reference

    number numeric
    Required

    The angle, in radians, for which to calculate the cosine

    Examples
    Sample code invoking the cos function

    Cosine of 0.3

    cos(0.3)

    Expected Result: 0.955336489126

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/cos

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API