• Get the inverse cosine of a number (in degrees)

    Parameters

    • input: number

    Returns number

    Example

    import { number } from "@rjweb/utils"

    number.acos(1) // 0
    number.acos(0) // 90
    number.acos(0.7071067811865476) // 45

    Since

    1.12.27

    Supports

    nodejs, browser