-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Extend ROUND() and FLOOR() to include number of decimal places to round up/down #2583
Comments
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jun 28, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jun 28, 2019
This was referenced Jun 28, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jun 29, 2019
…er of decimal places
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 5, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 5, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 12, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 12, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 12, 2019
…er of decimal places
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 12, 2019
ouertani
added a commit
to ouertani/ksql
that referenced
this issue
Jul 12, 2019
This was fixed by #3404 - thanks @purplefox ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The functions ROUND() and FLOOR() currently accepts one single argument which will be rounded up or down to an integer.
We should extend these functions to accept a second argument that specifies the number of decimal places to round the value. This will be useful when users want to convert DECIMAL types (See #842) and a default rounding happens during conversion to a smaller scale.
Syntax to support:
i.e.
i.e
The text was updated successfully, but these errors were encountered: