Leading Zeros on Imported Check Number

Derek Atkins warlord at MIT.EDU
Wed Apr 16 11:37:43 EDT 2008


The check number field is a string....  When used for sorting it IS
treated as an integer, so  0000089 will come before 90.  But gnucash
lets you use that field for anything you wish.

You could write a patch to do what you want, of course.

-derek

Quoting Doug Brown <toquehead at gmail.com>:

> My apologies if this is answered elsewhere ... I couldn't find it.
>
> When I import bank account transactions via a OFX import, check numbers
> are specified in the OFX file as:
>
> <CHECKNUM>000089
>
> and gnc imports the check number as "000089". I think of check numbers
> as being integers and it annoys me to see all those leading zeros in my
> account register. Is there any setting that will tell gnc to strip the
> leading zeros?
>
> I could, of course, strip out the zeros in the ofx file before
> importing, but that an extra I would prefer to avoid.
>
> tia,
>
> d.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list