summaryrefslogtreecommitdiff
path: root/tools/sample.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sample.py')
-rw-r--r--tools/sample.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/sample.py b/tools/sample.py
new file mode 100644
index 00000000..e32ebbcd
--- /dev/null
+++ b/tools/sample.py
@@ -0,0 +1,7 @@
+import ledger
+
+def myvalue(incoming):
+ x = ledger.Amount("$123.12")
+ print x
+ print x * 1
+ return x * 1