📜  如何在 C# 代码示例中分隔小数点的前面和小数点的后面

📅  最后修改于: 2022-03-11 14:49:23.186000             🧑  作者: Mango

代码示例1
//If you want the bit of a Decimal value to the LEFT of the dot, you need to do this:

Math.Truncate(number)