String in standard numeric format:
C or C currency "{0: c}"-F 1.23 result: ¥ 1. 23 or $1.23
D or D decimal "{0: d}"-F 2 result: 0002
E or E scientific notation "{0: E3}"-f [math]: PI result: 3.142e + 000
F or F fixed points. Exact description of the number of digits after the decimal point "{0: F3}"-f [math]: PI result: 3.142
N or N number "{0: N4}"-F 1 MB result: 1,048,576.0000
P or P percentage "{0: P4}"-F 0.67 result: 67.0000%
Custom numeric format string:
0 zero Placeholder "{0: 00. 0}"-F 4.12341234 result: 04.1
# Digit Placeholder "{0: ####}"-F 4.12341234 result: 4.1
, Thousands separator "{0 :#,#. #}"-F 1234.12341234 result: 1,234.1
, If the scale ratio is placed before the decimal point in the format text (or implicitly), it is divided by 1000 "{0: ##,. 000}"-F 1048576 result: 1.049
% Percentage. Multiply the input value by 100 and insert the percent sign "{0: % #. 000}"-F. 68. Result: 68.000%
'Text' text string, insert the text provided according to the original meaning to the output, without affecting the format "{0: #. 00' ##'}"-F 2.71828 result: 2.72 ##
Other other characters, insert the text provided according to the original meaning to the output, without affecting the format "{0 :$ # Please}"-F 14 result: $14 Please