On 2/10-2009 13:31 Thomas Olsen <[email protected]> wrote: > Hi > > In a Plasmoid I'm developing I receive a QByteArray which is a > representation for a float value. I will have to do some calculation with > this value and then write the result to a QLabel. > > Which is most effective: > > 1) Convert it to a QFloat, do the math, convert result to a QString and > write it to the label. > > or > > 2) Convert it to a python float, do the math and write result to the > label. > > or > > 3) Some other way I haven't thought of :-) >
Just realized that there is no such thing as a QFloat. Hmm, it's been a while since I've played with Qt. -- Best Regards / Med venlig hilsen Thomas Olsen _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
