TRUNCATE
Truncates a number to a specified number of decimal places.
Analyze Syntax
func.truncate(<x>, <d>)
Analyze Examples
func.truncate(3.14159, 2)
┌──────┐
│ 3.14 │
└──────┘
SQL Syntax
TRUNCATE(<x>, <d>)
SQL Examples
SELECT TRUNCATE(3.14159, 2);
┌──────┐
│ 3.14 │
└──────┘