ledger/tools/sample.py

7 lines
116 B
Python

import ledger
def myvalue(incoming):
x = ledger.Amount("$123.12")
print x
print x * 1
return x * 1