崩壞的玩具總動員....再次毀滅你的童年
How to round down/ round up in C#.net? | The ASP.NET Forums原來Woody這麼色....................... Hi, I want to round a double value, and it should round in following manner: 10.2349 should give result as 10.00 10.6948 should give result as 10.50 ... double x = 10.2349; double rounded = Math.Floor(x*2)/2; string result = string.Format("{0:0.00}", roun...
全文閱讀