Spec-Zone.ru › ColdFusion

exp

Calculates the exponent whose base is e that represents number. The constant e equals 2.71828182845904, the base of the natural logarithm. This function is the inverse of Log, the natural logarithm of number.

exp(number) → returns numeric

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

    Argument Reference

    number numeric
    Required

    Exponent to apply to the base e.

    Examples
    Sample code invoking the exp function

    exponent of 1.13140211149

    The result could vary depending on if the server is running windows or linux. On a windows box the result will be round to 3.1

    exp(1.13140211149)

    Expected Result: 3.099999999997

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

    Spec-Zone.ru

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