I haven't found anything that addresses how to format negative currency, so far, and it is driving me crazy.
from decimal import *
import re
import sys
import os
import locale
locale.setlocale( locale.LC_ALL, 'English_United States.1252' )
# cBalance is a running balance of type Decimal
fBalance = locale.currency( cBalance, grouping=True )
print cBalance, fBalance
Result with Negative Number:
-496.06 ($496.06)
I need a minus sign NOT parenthesis
How do I get rid of the parenthesis and get minus signs?