ledger/amounts.py
2004-08-29 23:33:22 -04:00

15 lines
161 B
Python

from amounts import *
x = Amount ("$123.45")
print x
x = x * 2
print x
y = Amount ("$1000.45")
print x + y
z = Value ("$1000.45")
print y + z
z += x
print z