You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FunctionDocumentation::Description description = "Calculates the absolute value of `x`. Has no effect if `x` is of an unsigned type. If `x` is of a signed type, it returns an unsigned number.";
55
+
FunctionDocumentation::Syntax syntax = "abs(x)";
56
+
FunctionDocumentation::Arguments argument = {{"x", "Value to get the absolute value of"}};
57
+
FunctionDocumentation::ReturnedValue returned_value = "The absolute value of `x`";
Performs division on two decimals. Result value will be of type [Decimal256](/sql-reference/data-types/decimal).
65
64
Result scale can be explicitly specified by `result_scale` argument (const Integer in range `[0, 76]`). If not specified, the result scale is the max scale of given arguments.
66
65
67
66
:::note
68
67
These function work significantly slower than usual `divide`.
69
68
In case you don't really need controlled precision and/or need fast computation, consider using [divide](#divide).
FunctionDocumentation::ReturnedValue returned_value = "The result of division with given scale. Type: [Decimal256](/sql-reference/data-types/decimal.md).";
0 commit comments