Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhli1142015 committed Dec 27, 2024
1 parent ac54140 commit e504c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/docs/functions/spark/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Decimal Functions
-----------------
.. spark:function:: floor(x: decimal(p, s)) -> r: decimal(pr, 0)
Returns ``x`` rounded down to the type ``decimal(min(p - s + 1, 38), 0)``.
Returns ``x`` rounded down to the type ``decimal(38, min({p} - {s} + min(1, {s})), 0)``.

.. spark:function:: unaryminus(x: decimal(p, s)) -> r: decimal(p, s)
Expand Down

0 comments on commit e504c67

Please sign in to comment.