Maybe we should take it out to match my documentation!

--
Craig

On Wed, Nov 27, 2013 at 10:00 AM, Erik Hetzner <[email protected]> wrote:

> At Wed, 27 Nov 2013 06:44:02 -0700,
> Craig Earls wrote:
>> 
>> Ledger's default is period decimal.  Failure to parse comma decimal without
>> --decimal-comma is not a bug.  Although I believe it should fail better.
>>  You can define decimal comma in your initialization file so that you don;t
>> have to type it from the command line.
> Hi Craig,
> ledger does do detection to try to figure out what format the amount
> is in. It is this detection that seems to be failing when the number
> of digits following the comma is evenly divisible by 3. You can see
> this by comparing how
>   Assets:Bitcoin:Local                      0,000098BTC
> and:
>   Assets:Bitcoin:Local                      0,0000980BTC
>                                                     ^ extra 0
> are parsed.
> (Personally, I find code like this fragile and tend to just prefer the
> user tell me, via LC_NUMERIC or some such how numerals are formatted.
> After all, how are we to distinguish `1,012BTC`?) But the code to try
> to figure this out is there.
> -Erik
> -- 
> Sent from my free software system <http://fsf.org/>.

-- 

--- 
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/groups/opt_out.

Reply via email to