>>>>> "AB" == Alan Bram <[email protected]> writes:

AB> Using "to_int" does indeed remove the dollar sign, but it also of
AB> course truncates the part after the decimal point (the cents). I
AB> guess the following works:

AB>     -F 'whatever ... %(0.01 * t)\n' -t 'to_int(100 * a)'

AB> but seems pretty clumsy. I don't see a "to_float" or anything like that.
AB> Is there another way that I'm still missing?

I just committed to the 'next' branch a 'clear_commodity' function for you.
The functionality was always there, it just wasn't exposed in the value
expression language.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to