How to cut the number to hundredths, not rounding it?
echo number_format(0.65999, 2, '.', ''); // 0.66, Округлило echo "\n"; echo intval(0.65999 * 100) / 100; // 0.65, Не округлило echo "\n"; echo intval(0.29 * 100) / 100; // 0.28, Округлило I tried many options from the Internet, everywhere rounding was not on one number, so on the other. Is there some kind of a normal solution, or you can't do without your own function?