diff doc/design.txt @ 5067:e424987d294a

Add support for an integer type to join the existing number type. Commit patch supplied for issue2550886. This can be used for properties used for ordering, counts etc. where a decimal point isn't needed. Developed by Anthony (antmail). Doc updates written by John Rouillard.
author John Rouillard <rouilj@ieee.org>
date Sun, 05 Jun 2016 00:17:26 -0400
parents 854238f78026
children 8901cc4ef0e0
line wrap: on
line diff
--- a/doc/design.txt	Tue May 31 09:16:09 2016 +0200
+++ b/doc/design.txt	Sun Jun 05 00:17:26 2016 -0400
@@ -227,6 +227,8 @@
 
 - Boolean properties are for storing true/false, or yes/no values.
 
+- Integer properties are for storing Integer (non real) numeric values.
+
 - Number properties are for storing numeric values.
 
 - Date properties store date-and-time stamps. Their values are Timestamp
@@ -263,6 +265,10 @@
         def __init__(self):
             """An object designating a Boolean property."""
 
+    class Integer:
+        def __init__(self):
+            """An object designating an Integer property."""
+
     class Number:
         def __init__(self):
             """An object designating a Number property."""
@@ -1024,7 +1030,7 @@
 
 - Strings are, well, strings.
 
-- Numbers are displayed the same as strings.
+- Integers/Numbers are displayed the same as strings.
 
 - Booleans are displayed as 'Yes' or 'No'.
 
@@ -1646,7 +1652,7 @@
 Changes to this document
 ------------------------
 
-- Added Boolean and Number types
+- Added Boolean, Integer and Number types
 - Added section Hyperdatabase Implementations
 - "Item" has been renamed to "Issue" to account for the more specific
   nature of the Class.

Roundup Issue Tracker: http://roundup-tracker.org/