I try to fetch a float number from a QString using toFloat() method but i get 0 for every number i fetch. I think number format is wrong and system does not recognize it, how can i set right format for these kind of numbers : 119,68648 ?
I try to fetch a float number from a QString using toFloat() method but
Share
Please see http://qt-project.org/doc/qt-4.8/qlocale.html#toDouble
Here is the example code from the documentation: