The following examples show how to format float numbers to string in C#. ... [C#] // just two decimal places String.Format("{0:0.00}", 123.4567); ...
確定! 回上一頁