Wow, thanx jacek. Eventually i would find that static function of QStringthank you for pointing it out. This forum is such a great place for finding solutions.
For me Qtwouldn`t be the same without qtcentre.
Wow, thanx jacek. Eventually i would find that static function of QStringthank you for pointing it out. This forum is such a great place for finding solutions.
For me Qtwouldn`t be the same without qtcentre.
Last edited by sadjoker; 27th August 2008 at 20:29.
Another solution is to multiply double values by 100 or 1000 or 10000 (depends of the needed digits after the floating point) before storing them like LONG (int) in the database, and dividing values by 100/1000/10000 after extracting from database and before displaying them.
The first solution was: extracting as double from the database. Doing some math with the values, converting them to string and storing back into the db.
Now i have to decide which way to use![]()
I think that the best solution is to use specialized class, something like this http://www.programmersheaven.com/dow...0/ZipView.aspx
Bookmarks