On Thursday 01 January 1970 01:00, Rob Kaper wrote: > Is there a class/method/lib in KDE/Qt to perform calculations? > > Something like KCalculator::calculate(const QString expression) or > something that let's me do int result =3D calculate( "(3*%1)+40" ).(30) w= hich > will return > 130.. I think I found what I was looking for: cap@kira:~/libmath/examples$ ./f1 25\*2^x 3 =46unction Library example program (l1) u(x)=3D25*2^x u(3)=3D200 Small and elegant, very useful. It's not Qt/KDE, but it's C++ so that's nic= e. Rob =2D-=20 Rob Kaper | Gimme some love, gimme some skin, cap@capsi.com | if we ain't got that then we ain't got much www.capsi.com | and we ain't got nothing, nothing! -- "Nothing" by A