Skip to content

Rounds a number to a specified number of decimal places.

func.round(<x>[, <d>])
func.round(3.14159, 2)
┌──────┐
3.14
└──────┘
ROUND(<x>[, <d>])
SELECT ROUND(3.14159, 2);
┌──────┐
3.14
└──────┘