Changes between Initial Version and Version 1 of Ticket #5050, comment 10
- Timestamp:
- 2019-01-31T20:53:05Z (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5050, comment 10
initial v1 5 5 In addition to the proposal by Francesco, a simple option is to use 6 6 QString::setNum(double n, char format = 'g', int precision = 6) 7 with variable precision.7 with 'g' format and variable precision. 8 8 This should be safer, since would work with systems having any number of digits, and whether they use or not a digit for positive signs, as exponent.