Does modulus division only return integers? I need a float return. See the following:
var_dump(12 % 10); // returns 2, as expected var_dump(11.5 % 10); // returns 1 instead of 1.5?
No comments:
Post a Comment