summaryrefslogtreecommitdiff
path: root/test.py
blob: 389f9d3309092eaa97a66b883148fdce30769f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python

from amounts import *

val = Value("$100.00")

print val

amt = Amount("$100.00")

print amt.commodity
amt.commodity = amt.commodity
print amt
amt.commodity = NullCommodity
print amt
print amt.quantity