Home / PHP Tips Generated By ChatGPT / Rounding Numbers Down in PHP Round numbers down to the nearest integer using floor(). Source Code echo floor(4.9); // Outputs: 4