Skip to content
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

why intDivOrZero result is decimal #56414

Closed
duanzhenke opened this issue Nov 7, 2023 · 0 comments · Fixed by #59243
Closed

why intDivOrZero result is decimal #56414

duanzhenke opened this issue Nov 7, 2023 · 0 comments · Fixed by #59243
Assignees
Labels
bug Confirmed user-visible misbehaviour in official release minor Priority: minor

Comments

@duanzhenke
Copy link

SELECT
toDecimal32(161.73,4) sumRevenue,
6962 sumInstall,
if(sumInstall >0,intDivOrZero(sumRevenue,sumInstall) ,0) eachOfferRevenue
image

@duanzhenke duanzhenke added the question Question? label Nov 7, 2023
@nickitat nickitat added bug Confirmed user-visible misbehaviour in official release and removed question Question? labels Nov 7, 2023
@alexey-milovidov alexey-milovidov added the minor Priority: minor label Nov 8, 2023
@yariks5s yariks5s self-assigned this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed user-visible misbehaviour in official release minor Priority: minor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants