invoice counter without leading zeroes

Gour gour at
Sat Jun 8 16:04:01 EDT 2013

On Sat, 8 Jun 2013 12:40:54 -0700
Alex Aycinena <alex.aycinena at> wrote:

Hiya Alex,

> Scroll to Section 9.3.4. I don't know if this will solve your exact
> problem, but you can put in literals and surpress leading zeros. 

Thank you very much - it helped!!

Iow, the key was to replace '%ld' with '%li' I can even add the
other required parts and get the complete 'invoice number' as
desired. :-)


A person is considered still further advanced when he regards honest 
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind. | Hlapicina (Croatia) | GPG: 52B5C810

Not by merely abstaining from work can one achieve freedom 
from reaction, nor by renunciation alone can one attain perfection. | Hlapicina (Croatia) | GPG: 52B5C810

More information about the gnucash-user mailing list