summaryrefslogtreecommitdiff
path: root/amounts.py
diff options
context:
space:
mode:
Diffstat (limited to 'amounts.py')
-rw-r--r--amounts.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/amounts.py b/amounts.py
index aa70086c..1d556a1c 100644
--- a/amounts.py
+++ b/amounts.py
@@ -16,3 +16,10 @@ z = Value ("$1000.45")
z += Value(x)
print z
+
+bal = Balance (x)
+bal += Amount ("100.8 DM")
+
+print "balance:", bal
+for amt in bal:
+ print " amount:", amt