how to seperate front of decimal and back of decimal in csharp

Code Example - how to seperate front of decimal and back of decimal in csharp

                
                        //If you want the bit of a Decimal value to the LEFT of the dot, you need to do this:

Math.Truncate(number)