Format ("{0:0000}", 157); // 輸出0157 前後都補0的數字字串String. ... C# ToString 格式record ... 取小數點4位,並對第5位做四捨五入. Console.
確定! 回上一頁