The new DAL will have a Numeric type. It should be possible to develop
the eStore app independently on this issue (assume double) and then
just change the field type when the new one becomes available.

On Jul 12, 1:26 am, "Francois (Jersey)"
<[email protected]> wrote:
> Back with an old query, in order to deal with an e-store, we would
> need to deal with numeric, as we need to deal with prices which are
> monetary amounts in multiple currencies.
>
> I can not remember where we are with numeric implementation?
>
> For example in SQLalchemy, numeric is defined as
>
> class sqlalchemy.types.Numeric(precision=10, scale=2, asdecimal=True,
> length=None)¶
>     Bases: sqlalchemy.types.TypeEngine
>     A type for fixed precision numbers.
>     Typically generates DECIMAL or NUMERIC. Returns decimal.Decimal
> objects by default.
>
> http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html?hig...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to