I'm looking for double round for Qt, but not lucky. qRound only round to int.
I want round function like in postgresql
select round(2.5275862068965517, 2); //2.53
I cannot figure out what are you doing.
But maybe what you need is a string "2.53" instead of a number 2.53 .
If so, you can easily achieve it through QString.
Bookmarks