This thread from stackoverflow might help.
Basically, you would use QString::number() as you have been, but replace the "4" with the value obtained from:
Qt Code:
std::numeric_limits< double >::max_digits10To copy to clipboard, switch view to plain text mode
Bookmarks