How correctly extract second valued after coma in Float value.
Example:
var value = 5.435
And I would like to take value second value after coma, that is 3.
How to do this properly?
Maybe this: (int)( value * 100 ) % 10.
(int)( value * 100 ) % 10