trinodb/trino

Document `truncate(number, position)` function

Open

#28765 opened on Mar 19, 2026

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (9,113 stars) (2,678 forks)batch import
good first issueneeds-docs

Description

https://trino.io/docs/current/functions/math.html#truncate documents only truncate(number) truncate(number, position) is currently not documented. It's supported for decimal and number types.

see round docs https://trino.io/docs/current/functions/math.html#round for example

cc @mosabua

Contributor guide