Hey,
I increase a double by 0.1, 0.2 or 0.5 (depending on the setting) with every tick.
now i want to detect when the double value is an interger e.g 1,2,3,4,5,6 and so on.
how can i do this?
thanks in advise
I increase a double by 0.1, 0.2 or 0.5 (depending on the setting) with every tick.
now i want to detect when the double value is an interger e.g 1,2,3,4,5,6 and so on.
how can i do this?
thanks in advise
Last edited: