I try to get the result of -0.15 modulo 5 in PHP.
Following codes always return 0.
$mod = ((-0.15) % 5)
$mod = (-0.15 % 5)
$mod = gmp_mod("-0,15", "5");
$mod = gmp_mod(-0.15, 5);
When I type "-0.15 mod 5" into google, it returns: 4.85
What is wrong with the code I use in PHP?