c# get fractional part of double round 2 code example
Example: csharp get decimal part of number
var floatNumber = 12.5523;
var x = floatNumber - Math.Truncate(floatNumber);
var floatNumber = 12.5523;
var x = floatNumber - Math.Truncate(floatNumber);