Functions.Round Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Round(Column, Int32) |
Returns the value of the |
Round(Column) |
Returns the value of the |
Round(Column, Int32)
Returns the value of the column
rounded to scale
decimal places with
HALF_UP round mode.
public static Microsoft.Spark.Sql.Column Round (Microsoft.Spark.Sql.Column column, int scale);
static member Round : Microsoft.Spark.Sql.Column * int -> Microsoft.Spark.Sql.Column
Public Shared Function Round (column As Column, scale As Integer) As Column
Parameters
- column
- Column
Column to apply
- scale
- Int32
Scale factor
Returns
Column object
Applies to
Round(Column)
Returns the value of the column
rounded to 0 decimal places with
HALF_UP round mode.
public static Microsoft.Spark.Sql.Column Round (Microsoft.Spark.Sql.Column column);
static member Round : Microsoft.Spark.Sql.Column -> Microsoft.Spark.Sql.Column
Public Shared Function Round (column As Column) As Column
Parameters
- column
- Column
Column to apply
Returns
Column object