Message5319
A Number class provided by roundup is a number of type Real. So, it
always come with a decimal part. But there is a rare case when Numbers
field used to store real type values.
In common case there is a need to truncate decimal part to show it as
integer (at least, with Jinja engine).
So, i propose a patch (attached) to make Integer class available.
You can add fields of type Integer in common way in schema.py:
...=Class(...
value=Integer(),
...)
Needs testing. |
|
Date |
User |
Action |
Args |
2015-06-18 10:59:27 | antmail | set | recipients:
+ antmail |
2015-06-18 10:59:27 | antmail | set | messageid: <1434625167.65.0.0787308110889.issue2550886@psf.upfronthosting.co.za> |
2015-06-18 10:59:27 | antmail | link | issue2550886 messages |
2015-06-18 10:59:27 | antmail | create | |
|