Thanks so much for the super-quick reply, John!

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

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

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

On Fri, Feb 16, 2018 at 4:37 PM, John Wiegley <[email protected]> wrote:

> >>>>> "A" == Alan  <[email protected]> writes:
>
> A> Long ago, in version 2, I used to be able to say something like ... -t
> A> 'S(a)'
>
> A> in order to have amounts appear without dollar signs in report output.
> But
> A> now with version 3 that doesn't seem to work.
>
> A> What's the new way to ask for the amounts as plain, unadorned
> A> numbers?
>
> I think it's "to_int" these days...
>
> 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