Function roundIfNeeded

  • If passed a number, rounds it, otherwise returns it.

    Parameters

    • roundTo: number | false
    • num: any

    Returns any

Generated using TypeDoc