Fixed format_currency()

TypeError: bad operand type for abs(): 'NoneType'