trinodb/trino

Document `truncate(number, position)` function

Open

#28.765 aberto em 19 de mar. de 2026

Ver no 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

Guia do colaborador