Functions.FormatNumber(Column, Int32) 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.
Formats the given numeric column
to a format like '#,###,###.##',
rounded to the given d
decimal places with HALF_EVEN round mode,
and returns the result as a string column.
public static Microsoft.Spark.Sql.Column FormatNumber(Microsoft.Spark.Sql.Column column, int d);
static member FormatNumber : Microsoft.Spark.Sql.Column * int -> Microsoft.Spark.Sql.Column
Public Shared Function FormatNumber (column As Column, d As Integer) As Column
Parameters
- column
- Column
Column to apply
- d
- Int32
Decimal places for rounding
Returns
Column object