summaryrefslogtreecommitdiff
path: root/amounts.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-20 04:07:02 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-20 04:07:02 -0400
commita7ea33a8ecc9886dd7a94906ae30c861b4da3540 (patch)
tree6c2c4df6620f25de5505694c1c8b6d9424b13381 /amounts.py
parent5429792edc077d8c65d7bbf0f98c3d0e59837775 (diff)
downloadfork-ledger-a7ea33a8ecc9886dd7a94906ae30c861b4da3540.tar.gz
fork-ledger-a7ea33a8ecc9886dd7a94906ae30c861b4da3540.tar.bz2
fork-ledger-a7ea33a8ecc9886dd7a94906ae30c861b4da3540.zip
passing --enable-python to configure is now required for python support
Diffstat (limited to 'amounts.py')
-rw-r--r--amounts.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/amounts.py b/amounts.py
deleted file mode 100644
index 1d556a1c..00000000
--- a/amounts.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from amounts import *
-
-x = Amount ("$123.45")
-print x
-x = x * 2
-print x
-
-y = Amount ("$1000.45")
-print x + y
-
-y = Amount ("$1000.45")
-print x * y
-
-z = Value ("$1000.45")
-#print z + Value(y)
-
-z += Value(x)
-print z
-
-bal = Balance (x)
-bal += Amount ("100.8 DM")
-
-print "balance:", bal
-for amt in bal:
- print " amount:", amt