c# how to get only the decimal of a floating point 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);