Given, say, 1.25 - how do I get \"1\" and .\"25\" parts of this number?
I need to check if the decimal part is .0, .25, .5, or .75.
There's a fmod function too, that can be used : fmod($my_var, 1) will return the same result, but sometime with a small round error.