[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: idea calculator - bc and national language?
From:       Sébastien_Laoût "\[temporar\]" <les83plus () free ! fr>
Date:       2004-07-24 12:22:05
Message-ID: 1090671490.3193.138.camel () localhost ! localdomain
[Download RAW message or body]

Le sam 24/07/2004 à 11:27, Lubos Lunak a écrit :
> Dne Ät 22. Äervence 2004 15:18 Sébastien Laoût [temporar] napsal(a):
> > [...]
> > //<<
> >    if( !KStandardDirs::findExe( "bc" ).isEmpty()) {
> >       QString expWithPoints = exp.replace(",", ".");
> >       cmd = QString("echo \"scale=20;%1\" | bc" ).arg(expWithPoints);
> >    } else
> > //>>
> > [...]
> > No ?
> > A problem with that ?
> > I search... but I find it trivial.
> > But I'm not an expert hacker :-)
> 
>  Nothing is trivial :). [...] It also 
> doesn't check if "," really is the separator.

But what can also be "," ?
I don't know bc (haven't it installed). Is it provide functions ?
If yes, of course ',' would be to separate the parameters.

> There's no conversion the other way around.

What do you mean ?
The result is not converted ?


_______________________________________________
kde-usability mailing list
kde-usability@kde.org
https://mail.kde.org/mailman/listinfo/kde-usability
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic