Roundup Tracker - Issues

Message5319

Author antmail
Recipients antmail
Date 2015-06-18.10:59:25
Message-id <1434625167.65.0.0787308110889.issue2550886@psf.upfronthosting.co.za>
In-reply-to
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.
History
Date User Action Args
2015-06-18 10:59:27antmailsetrecipients: + antmail
2015-06-18 10:59:27antmailsetmessageid: <1434625167.65.0.0787308110889.issue2550886@psf.upfronthosting.co.za>
2015-06-18 10:59:27antmaillinkissue2550886 messages
2015-06-18 10:59:27antmailcreate