decimal is a number

(I hope this is ok, my first ever attempt at a pull request.)

I've been doing a formatting data from mysql tables, and sometimes the numbers come through as decimal.Decimal. This is built into python and seems just the same in python3.