I just found a test we use for the current dashboard that may be handy:


    >>> currency(0)
    u'$0.00'
    >>> currency(1)
    u'$0.01'
    >>> currency(100)
    u'$1.00'
    >>> currency(102)
    u'$1.02'
    >>> currency(110)
    u'$1.10'
    >>> currency(99999)
    u'$999.99'
    >>> currency(100048)
    u'$1,000.48'
    >>> currency(1234567890)
    u'$12,345,678.90'
    >>> currency(-123)
    u'-$1.23'