c# get fractional part of double 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);