Well, I don't really need rounding in the value side, but formatting
control would be nice in a number of places.

On Wed, Nov 2, 2011 at 10:34, John Wiegley <[email protected]> wrote:

> >>>>> Craig Earls <[email protected]>
> writes:
>
> > Actually quantity isn't rounding at all, as expected.  It is giving me
> full
> > precision, sometime 9 or 10 digits.  Here is an example:
>
> > ledger bal Investments --collapse  --limit "commodity=='VIFSX'" --format
> > "%(quantity(strip (display_total))) %(quantity(market(total)))"
>
> > 123.1234567891 12345.123456789123
>
> Ah, yes, well non commoditized integers don't round.  I'll have to add a
> function for this to the valexpr language.
>
> John
>



-- 
Craig, Corona De Tucson, AZ
enderw88.wordpress.com

Reply via email to