pyspark.sql.functions.rint

pyspark.sql.functions.rint(col: ColumnOrName) → pyspark.sql.column.Column[source]

Returns the double value that is closest in value to the argument and is equal to a mathematical integer.

New in version 1.4.