I forgot to say the Python tutorial says to use Decimal for financial
calcs to avoid rounding errors.

On Nov 27, 8:33 pm, pbreit <[email protected]> wrote:
> I have some price fields specified as type 'decimal'. But am finding that I
> have to cast to 'float' do do any math (or the other to decimal.Decimal I
> guess).
>
> This seems cumbersome. Is 'decimal' the best field type for storing
> financial amounts that will be involved in math calculations?

Reply via email to