Format number using US conventions, if value provided is a number.

If the value is a non-number string, return that value. Otherwise, return the empty string.

  • Parameters

    • n: string | number

      the (possibly numeric) value to format

    Returns string