round(expression, length)
examples:
ROUND(123.9994, 3) ==> 123.9990
ROUND(123.9995, 3 ==> 124.0000
ROUND(123.9994, 0) ==> 124
ROUND(123.45, -2) ==> 100
ROUND(123.9994, 3) ==> 123.9990
ROUND(123.9995, 3 ==> 124.0000
ROUND(123.9994, 0) ==> 124
ROUND(123.45, -2) ==> 100
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyeBook · SQLSupabase in Practice: Build and Ship Production Apps on Postgres, from First Table to LaunchDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.