Currency automatic update for NOK of by a factor 100

Stian Soiland-Reyes stian at soiland-reyes.com
Mon Apr 26 05:05:22 EDT 2010


On Mon, Apr 26, 2010 at 2:23 AM, Stian Soiland-Reyes
<stian at soiland-reyes.com> wrote:

> And using Finance::Quote directly fails with NOK:
>
> #!/usr/bin/perl
> use Finance::Quote;
> $q = Finance::Quote->new;
> $conversion_rate = $q->currency("NOK", "GBP");
> print $conversion_rate . "\n";
>
> # 11.008 instead of 0.11008

FYI: I could not sleep last night, and made a patch for
Finance::Quote. I'll submit it tonight to their mailing list and keep
you updated. (For archival reasons!)

-- 
Stian Soiland-Reyes
Manchester, UK
http://soiland-reyes.com/


More information about the gnucash-user mailing list