Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/abacus_window.py
diff options
context:
space:
mode:
Diffstat (limited to 'abacus_window.py')
-rw-r--r--abacus_window.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/abacus_window.py b/abacus_window.py
index e591b30..388e3b6 100644
--- a/abacus_window.py
+++ b/abacus_window.py
@@ -57,6 +57,8 @@ def dec2frac(d):
"""
+ if d > 1:
+ return "%s" % d
df = 1.0
top = 1
bot = 1