Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
marcomartinetti
Contributor II
Contributor II

division

hi all,

i would like to divide a negative number and a positive number, but the final result is 0.

why  Qlik pays off  0 when the result is different?

Help me Please!!

Thank you!
Marco

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Perhaps you need to format the number to include one or more decimal points.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar

Perhaps you need to format the number to include one or more decimal points.


talk is cheap, supply exceeds demand
marcomartinetti
Contributor II
Contributor II
Author

hi,

thanks for your answer!!

and also, why when i divide, whit the same expression, two positive number the result is correct, but when i divide a negative number and a positive number the result isn't correct??

thanks!

Marco

Gysbert_Wassenaar

If I had to guess it's due to rounding errors: https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808


talk is cheap, supply exceeds demand