• Get the sine of a number (in degrees)

    Parameters

    • input: number

    Returns number

    Example

    import { number } from "@rjweb/utils"

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

    Since

    1.12.27

    Supports

    nodejs, browser