-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scale for Floor and Ceil[ing] #8373
Comments
No, floor and ceiling are operations that return a whole number. This is specified in the SQL:2003 standard (ISO/IEC 9075-2:2023):
with:
The function What you seem to be looking for is a way to configure the rounding behaviour of I would suggest an (optional) parameter to |
I'm not sure if I should keep this open, or close it and create a new one with a request for a round-mode for ROUND. |
I don't think that strictly following the standard is useful in this case. Many databases extend the standard features, I think we should look at how things are in other databases with these functions. |
@sim1984 My point is that |
If the standard and Firebird describe |
thank you for explanation i also agree with (optional) parameter <round_mode> in ROUND and i think that more better solution even though more typing required. Best Regards |
Round already have scale, shouldn't Floor and Ceiling also have scale parameter/function ?
The text was updated successfully, but these errors were encountered: