spark_connect_rs::functions

Function format_number

Source
pub fn format_number(col: impl Into<Column>, d: impl Into<Column>) -> Column
Expand description

Formats the number X to a format like ‘#,–#,–#.–’, rounded to d decimal places with HALF_EVEN round mode, and returns the result as a string.