Mercurial > p > roundup > code
diff doc/customizing.txt @ 5175:e1e40674a0bc
Implement double-precision Number
.. as an option to the 'Number' property.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Mon, 12 Dec 2016 13:53:47 +0100 |
| parents | 12190efa30d4 |
| children | 349bef975367 |
line wrap: on
line diff
--- a/doc/customizing.txt Fri Dec 09 10:52:59 2016 +0100 +++ b/doc/customizing.txt Mon Dec 12 13:53:47 2016 +0100 @@ -656,7 +656,8 @@ * Date properties store date-and-time stamps. Their values are Timestamp objects. * Integer properties store integer values. (Number can store real/float values.) -* Number properties store numeric values. +* Number properties store numeric values. There is an option to use + double-precision floating point numbers. * Boolean properties store on/off, yes/no, true/false values. * A Link property refers to a single other item selected from a specified class. The class is part of the property; the value is an @@ -671,6 +672,8 @@ property should be part of the full text index. The default is 'no' but this can be set to 'yes' to allow a property's contents to be in the full text index. +* Number properties can have a ``use_double`` attribute that, when set + to ``True``, will use double precision floating point in the database. * Link and Multilink properties can have several attributes: - ``do_journal``: By default, every change of a link property is
