string of format used

Added:
{0: N2 of} the N3, f3 indicates the type of data and the number of decimal places after formatting. Such as: N2 represents a decimal number with a 2;
similar to this:
N or n represents a number
F or f represents a fixing point
E or e scientific notation represents
D or represents a decimal number d
X x hexadecimal or
G or g shows a conventional
C or c represents currencies

Published 48 original articles · won praise 3 · views 20000 +

Guess you like

Origin blog.csdn.net/chscomfaner/article/details/82803939