Skip to content

TRUNCATE

TRUNCATE(X[, num_decimal_places])

Equivalent to ROUND(X, num_decimal_places). If num_decimal_places is not supplied, it defaults to 0.