一、参数格式:
以下参数在QString 下的 arg(), number() 都可以使用:
Format |
Meaning |
e |
format as [-]9.9e[+|-]999 |
E |
format as [-]9.9E[+|-]999 |
f |
format as [-]9.9 |
g |
use e or f format, whichever is the most concise |
G |
use E or f format, whichever is the most concise |
A precision is also specified with the argument format. For the 'e', 'E', and 'f' formats, the precision represents the number of digits after the decimal point. For the 'g' and 'G' formats, the precision represents the maximum number of significant digits (tr