Get Last 2 Decimal Places with No Rounding

前端 未结 5 2043
青春惊慌失措
青春惊慌失措 2021-02-06 04:05

In C#, I\'m trying to get the last two decimal places of a double with NO rounding. I\'ve tried everything from Math.Floor to Math.Truncate and nothin

5条回答
提交回复
热议问题