New issue 166: Inconsistent rendering of decimal numbers
https://bitbucket.org/blais/beancount/issues/166/inconsistent-rendering-of-decimal-numbers

Limbo Peng:

## Description

The output of `bean-report` renders decimal numbers inconsistently when a 
beancount file is included in another.

## Environment

* Python 3.5.1
* beancount 2.0rc1

## Normal Rendering

```
; test1.beancount
option "operating_currency" "CNY"

2017-01-01 open Equity:OpeningBalances
2017-01-01 open Assets:Cash

2017-05-02 pad Assets:Cash Equity:OpeningBalances
2017-05-03 balance Assets:Cash 100.01 CNY
```

```sh
$ bean-report test.beancount bal
Assets:Cash              100.01 CNY
Equity:OpeningBalances  -100.01 CNY
Expenses
Income
Liabilities
```

## Weird Rendering in Included File

```
; test2a.beancount
option "operating_currency" "CNY"
include "test2b.beancount"
```

```
; test2b.beancount
2017-01-01 open Equity:OpeningBalances
2017-01-01 open Assets:Cash

2017-05-02 pad Assets:Cash Equity:OpeningBalances
2017-05-03 balance Assets:Cash 100.01 CNY
```

```sh
$ bean-report test.beancount bal
Assets:Cash            100.01000000 CNY
Equity:OpeningBalances -100.01000000 CNY
Expenses
Income
Liabilities
```


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20170503160506.9927.96093%40celery-worker-108.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to