KLocale::formatNumber fails for locales without ThousandsSeparator
Albert Astals Cid
aacid at kde.org
Tue Sep 20 18:35:16 BST 2011
A Dijous, 8 de setembre de 2011, John Layt vàreu escriure:
> On Thursday 08 Sep 2011 16:22:04 Albert Astals Cid wrote:
> > Hi John, just realized that KLocale::formatNumber fails to return 10
> > when
> > passing in "10" (returns 0) if ThousandsSeparator is empty (like it is
> > for Spain and lots of other locales).
> >
> > The problem is in KLocalePrivate::parseDigitGroup, but i gave a quick
> > look and decided you could fix it faster than me since you already know
> > what the code is supposed to be doin ;-)
> >
> > Could have a look? If you are too busy say so and i'll try again since
> > this is making Okular zoom input not work at all.
> >
> > Albert
>
> You're in luck, not only do I have net access today, I'll even be at home
> tonight so can I have a look at it :-)
John did you have any luck? I have some time and 4.7.2 tagging is next week so
if you want I can try to have a look.
Albert
>
> John.
More information about the kde-core-devel
mailing list