Are you absolutely certain?  What version of ledger do you have installed?  
Which operating system are you using?  How did you install ledger (i.e. from 
official packages for your system, or did you build it yourself from source)?  
What is the exact command you are running?  Can you share a minimal snippet of 
your ledger file that reproduces the issue (anonymize the accounts & change the 
actual values, etc.)?  Can you reproduce it with a new minimal ledger file?

For example, what is the output if you run the something like the following 
commands (‘$’ represents your command prompt):

$ ledger —version
$ cat >foo.dat <<EOF
2020-12-01 * (1234) Acme, Inc.
    expenses:misc   \$1,234,567,890.95
    assets:checking
EOF
$ ledger -f foo.dat balance

Sent from my iPhone

> On Dec 1, 2020, at 22:16, Keith David Bershatsky 
> <[email protected]> wrote:
> 
> Thank you, Kent, for having a look at this particular thread.  
> Unfortunately, the current version of ledger does not do this out-of-the-box. 
>  All of my entries in the master ledger.dat file have commas as three-digit 
> separators, and all hundredths are completely spelled out; e.g., 1,800.00; 
> 13,750.50, etc. in the master ledger.dat file.
> 
> The reg and bal ledger reports all omit the 3-digit comma separators, and 
> also omit the hundredths place when the number looks like 1800.5, and also 
> omits both the tenths and hundredths place when the number looks like 1800.
>> On Tuesday, December 1, 2020 at 7:32:56 PM UTC-8 Kent Spillner wrote:
>> That’s clearly documented in both the online docs & the webpage: ledger will 
>> automatically copy whatever format you use (e.g.: 
>> https://www.ledger-cli.org/3.0/doc/ledger3.html#Keeping-a-Journal).  So if 
>> you want it to format as $1,800.00 you just need to use that format in your 
>> ledger file(s).
>> 
>> Just this past weekend I noticed that I suddenly started getting 3 decimal 
>> places in my reports.  Turned out I had an errant $500.000 in one posting.
>> 
>> Sent from my iPhone
>> 
>>>> On Dec 1, 2020, at 20:50, Keith David Bershatsky 
>>>> <[email protected]> wrote:
>>>> 
>>> How can I instruct ledger-cli to display the output with three-digit comma 
>>> separators and also double hundredths (even if .00)?
>> 
>>> 
>>> 
>>> E.g., Instead of 1800, I would like to see 1,800.00
>>> 
>>> Thanks,
>>> 
>>> Keith
>> 
>>> -- 
>>> 
>>> --- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/ledger-cli/df6129d5-c7a9-4afe-8860-2d87a717b6dfn%40googlegroups.com.
> 
> -- 
> 
> --- 
> 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].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ledger-cli/f1727df7-c2c9-49a6-8828-b44e3585d0fbn%40googlegroups.com.

-- 

--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/4E0599D6-F40F-463D-B56B-2793EEE970C8%40zerosphere.org.

Reply via email to