pyspark.sql.functions.rint¶

pyspark.sql.functions.rint(col)[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.