2012-04-05 C# 四捨五入 3046 0 C# C#,四捨五入,ToString,Format Decimal _dec = 1.357; _dec.ToString("0") → 1 _dec.ToString("0.0") → 1.4 _dec.ToString("0.00") → 1.36 FormatToString四捨五入C# 回首頁