I want to receive the number after the decimal dot in the form of an integer. For example, only 05 from 1.05 or from 2.50 only 50 not 0.50
the best of the best way is:
var floatNumber = 12.5523; var x = floatNumber - Math.Truncate(floatNumber);
result you can convert however you like
1.4m articles
1.4m replys
5 comments
57.0k users