Using Numeric Functions in MySQL

Published July 26, 2025 By Sai Sree Ram Gundepudi

Examples

SELECT ROUND(123.456, 2);
SELECT CEIL(9.1);
SELECT FLOOR(9.9);
SELECT MOD(10, 3);
SELECT POWER(2, 3);

Was this solution helpful?

Your feedback helps improve our technical knowledge repository.

Share this article