Also. I think this is a Python thing, not Web2py.

I'm at a loss for what data type I should use for currencies. I wasn't 
expecting to run into these type problems (I'm a relative newbie!).

    if form.vars.shipping_amount > (form.vars.start_price * Decimal(0.2)):
  File "/usr/lib/python2.6/decimal.py", line 649, in __new__
    "First convert the float to a string")
TypeError: Cannot convert float to Decimal.  First convert the float to a string

Reply via email to