summaryrefslogtreecommitdiff
path: root/amounts.py
diff options
context:
space:
mode:
Diffstat (limited to 'amounts.py')
-rw-r--r--amounts.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/amounts.py b/amounts.py
index f3a58986..aa70086c 100644
--- a/amounts.py
+++ b/amounts.py
@@ -8,8 +8,11 @@ print x
y = Amount ("$1000.45")
print x + y
+y = Amount ("$1000.45")
+print x * y
+
z = Value ("$1000.45")
-print y + z
+#print z + Value(y)
-z += x
+z += Value(x)
print z