trinodb/trino

Document `truncate(number, position)` function

Open

#28.765 geöffnet am 19. März 2026

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (9.113 Stars) (2.678 Forks)batch import
good first issueneeds-docs

Beschreibung

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