Hi, I need to read a string from an xml file and then convert it to double. My problem is that I can't find a way to specify precision, so I lose some decimals. Example:
Qt Code:
  1. qDebug() << c.toDouble("44.48666300");
To copy to clipboard, switch view to plain text mode 
this prints 44.4867. I need to set the locale since the file uses always the dot as a decimal separator.
It seems that I can specify precision only if I convert a double into a string, not the opposite; do you have any advice? I guess I'll have to use directly some C++ standard function
Thanks in advance