Unsolved double format to QString exponent has extra 0
-
After updating from QT 5.7.0 to 5.13.2 we see that double are reformatted slightly different.
An extra 0 in the exponent
5.7.0: -> 1.23457e+6
5.13.2-> 1.23457e+06Does anyone know when this has changed and why?
Or is it just a settings/option/parameter somewhere?
Regards,
Marcel
-
Maybe an old bug that has been fixed:
https://forum.qt.io/topic/77226/missing-zero-in-exponential-format
-
Hi @EMStegehuis,
you didn't provide code from which you see this difference, but most likely this commit, which introduced an external library for double formating is guilty.
The commit has links to bug reports, and also contains a workaround (compile Qt without libdouble-support).
Regards