可以透過 Math.Round 的方式來達成這個需求,下列示範取小數點後2位: Math.Round(99.2567, 2, MidpointRounding.AwayFromZero)...
請先 登入 以發表留言。