Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 55704
Status: new
Priority: 0/
Queue: Finance-Quote

Owner: Nobody in particular
Requestors: matze [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Finanzpartner module and big numbers
Date: Fri, 19 Mar 2010 09:34:07 +0100
To: bug-Finance-Quote [...]
From: Matthias Braun <matze [...]>
Download (untitled) / with headers
text/plain 546b
The Finanzpartner module uses commas when showing big numbers (example 8,020.22). Gnucash can't parse these numbers. I'm not 100% sure wether this should be considered a bug in Finance:Quote or rather a bug in gnucash for not parsing the number. Anyway I used the following patch: --- a/lib/Finance/Quote/ +++ b/lib/Finance/Quote/ @@ -41,7 +41,8 @@ sub trim # Convert number separators to US values sub convert_price { $_ = shift; - tr/.,/,./ ; + s/\.//g; + tr/,/./; return $_; }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to