Function addCommas

Add Commas to numbers in a string or a number

addCommas

  • Parameters

    • input: string | number

    Returns string

    string of separated numbers by commas, eg: 30,000