I would like to convert QString values to float and then compare them..
I have used toFloat(), toDouble() , but it is not working.
Qt Code:
if(version1.toFloat() < version2.toFloat()) // just 2 is returned everytime. { }To copy to clipboard, switch view to plain text mode
How to resolve it???
Bookmarks