Jean-Marc Lasgouttes wrote:
> Le 14 janv. 09 à 20:05, Jürgen Spitzmüller a écrit :
> > The attached patch (for trunk only) introduces number localization,  
> > something
> > I wanted for a long time (I wasn't aware it was so easy).
>
> What is the trimmed() good for?

QString::toDouble() cannot handle trailing whitespace.

> > So you can now, in German localization, enter 1,2 instead of 1.2  
> > (the latter
> > is still possible, but the numbers will be displayed in the local  
> > form).
>
> And they are stored with the dot, right?

Yes, of course. It's just a display issue.

> > Objections?
>
> No.


Jürgen

Reply via email to