Skip to content

Commit 1baf059

Browse files
roxannemoslehiRoxanne Moslehi
authored andcommitted
[DOCS] Clarify round mode for format_number function
1 parent b0ae6a3 commit 1baf059

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/functions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,8 +2191,8 @@ object functions {
21912191
}
21922192

21932193
/**
2194-
* Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places,
2195-
* and returns the result as a string column.
2194+
* Formats numeric column x to a format like '#,###,###.##', rounded to d decimal places
2195+
* with HALF_EVEN round mode, and returns the result as a string column.
21962196
*
21972197
* If d is 0, the result has no decimal point or fractional part.
21982198
* If d is less than 0, the result will be null.

0 commit comments

Comments
 (0)