summaryrefslogtreecommitdiff
path: root/amounts.py
diff options
context:
space:
mode:
Diffstat (limited to 'amounts.py')
-rw-r--r--amounts.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/amounts.py b/amounts.py
deleted file mode 100644
index 1d556a1c..00000000
--- a/amounts.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from amounts import *
-
-x = Amount ("$123.45")
-print x
-x = x * 2
-print x
-
-y = Amount ("$1000.45")
-print x + y
-
-y = Amount ("$1000.45")
-print x * y
-
-z = Value ("$1000.45")
-#print z + Value(y)
-
-z += Value(x)
-print z
-
-bal = Balance (x)
-bal += Amount ("100.8 DM")
-
-print "balance:", bal
-for amt in bal:
- print " amount:", amt