Changes between Initial Version and Version 1 of Ticket #5050, comment 10


Ignore:
Timestamp:
2019-01-31T20:53:05Z (6 years ago)
Author:
massimo ceraolo

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5050, comment 10

    initial v1  
    55In addition to the proposal by Francesco, a simple option is to use
    66       QString::setNum(double n, char format = 'g', int precision = 6)
    7 with variable precision.
     7with 'g' format and variable precision.
    88This 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.