pyspark.sql.functions.rint

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

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