AccountingForm
AccountingForm[expr] prints with all numbers in expr given in standard accounting notation.
AccountingForm[expr, n] prints with numbers given to n-digit precision.
Examples
Display a number in accounting form:
AccountingForm[1234567.89]
(* 1,234,567.89 *)Display negative numbers with parentheses:
AccountingForm[-1234.56]
(* (1,234.56) *)Please visit the official Wolfram Language Reference for more details.