QList and QVector are supposed to be generic containers, so they have no methods related to stored datatype. If you want to convert, loop and convert the numbers yourself. Or make your own FloatList, FloatVector, DoubleList, etc. classes, where you can implement conversion methods toFloat(), toDouble() and reuse it in the rest of your code ( and maybe in your other projects ).I was hoping for a simple test.toDouble()
Bookmarks