sprintf
作者:互联网
Integer, signed |
|
Base 10 |
Integer, unsigned |
|
Base 10 |
|
Base 8 (octal) |
|
|
Base 16 (hexadecimal), lowercase letters |
|
|
Same as |
|
Floating-point number |
|
Fixed-point notation (Use a precision operator to specify the number of digits after the decimal point.) |
|
Exponential notation, such as |
|
|
Same as |
|
|
The more compact of |
|
|
The more compact of |
|
Characters or strings |
|
Single character |
|
Character vector or string array. The type of the output text is the same as the type of |
标签:Use,point,precision,number,sprintf,operator,specify 来源: https://www.cnblogs.com/webmine/p/11368376.html