E*Trade Portfolio Transaction Import
Derek Atkins
warlord at MIT.EDU
Thu Apr 8 09:53:19 EDT 2004
Nice script, but...
Keith Iosso <kiosso at alumni.princeton.edu> writes:
> $commission = sprintf("%.2f", abs($field[8] - $field[7]));
> print "O$commission\n";
the commmission should be omitted if it's 0. So I would change
this this to:
print "O$commission\n" if ($commission != 0);
Yea, the != 0 is probably not necessary, but it always helps to be
clear.
Thanks for the submission. Hopefully people will find it useful.
-derek
--
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