ToString("f2");//fN 保留N位,四捨五入. //小數點後面幾個0就保留幾個小數位數. double d = 0.55555;. string str9 = d.ToString("#0.00");.
確定! 回上一頁