Re: BQL USD value formatting

2018-05-28 Thread Martin Blais
I managed to look into this further on a train ride. It's what I thought: the DisplayContext class which honors all those settings was implemented after the SQL shell was. The SQL shell code was never converted to it (I put a note somewhere to do that eventually). If you're curious, the rendering

Re: BQL USD value formatting

2018-05-28 Thread Martin Blais
Sorry for delay, I'm traveling for a little while, no time on the road. The SQL shell uses a different rendering routine. IIRC this was designed for the web interface. FYI, the SQL shell was designed as an experiment; it needs a rewrite that takes into account all the options made for the web

Re: BQL USD value formatting

2018-05-20 Thread Martin Blais
Place it in your Beancount file. On Sun, May 20, 2018 at 3:58 AM, Filip Miletic (Филип Милетић) < fil...@gmail.com> wrote: > How does one set it? This is what I get: > > beancount> option "render_commas" "TRUE" >│~ > > ERROR: Syntax error near 'option' (at 0) >

Re: BQL USD value formatting

2018-05-20 Thread Филип Милетић
How does one set it? This is what I get: beancount> option "render_commas" "TRUE" │~ ERROR: Syntax error near 'option' (at 0) │~ option "render_commas" "TRUE" │~ ^ On Sat, May 19, 2018 at 7:10 PM

Re: BQL USD value formatting

2018-05-19 Thread Martin Blais
*option "render_commas" "TRUE"* On Sat, May 19, 2018 at 6:16 PM, Filip Miletic (Филип Милетић) < fil...@gmail.com> wrote: > Hi! How can I format the output values of numeric columns in BQL in > financial format (1,000,000.00) instead of the apparent default of > 100.00? > > Both are

BQL USD value formatting

2018-05-19 Thread Филип Милетић
Hi! How can I format the output values of numeric columns in BQL in financial format (1,000,000.00) instead of the apparent default of 100.00? Both are correct, but I find the former somewhat easier to read. F -- You received this message because you are subscribed to the Google Groups