• Get % change of 2 numbers

    Parameters

    • input: number
    • changed: number

    Returns number

    Example

    import { number } from "@rjweb/utils"

    number.change(50, 75) // 50
    number.change(50, 25) // -50

    Since

    1.2.0

    Supports

    nodejs, browser