From a4c5380a7f0abc2ab0bdc9347bba967a113ad696 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 7 Sep 2004 20:03:01 -0400 Subject: some fixes to value_t in python; still more work to go --- amounts.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'amounts.py') 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 -- cgit v1.2.3