only integer part c# code example
Example 1: csharp get integer part of number
Math.Truncate(number)
Example 2: c# integer part of float
GetIntPart(343564564.4342) >> 343564564
GetIntPart(-323489.32) >> -323489
GetIntPart(324) >> 324
Math.Truncate(number)
GetIntPart(343564564.4342) >> 343564564
GetIntPart(-323489.32) >> -323489
GetIntPart(324) >> 324