csharp get integer part of number code example Example: csharp get integer part of number Math.Truncate(number)