Share via


Funzione rint

Si applica a:check marked yes Databricks SQL check marked yes Databricks Runtime

Restituisce expr arrotondato a un numero intero come .DOUBLE Questa funzione è un sinonimo di round(expr, 0).

Sintassi

rint(expr)

Argomenti

  • expr: espressione che restituisce un valore numerico.

Resi

Un oggetto DOUBLE.

Esempi

> SELECT rint(12.3456);
 12.0