Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

rounding issue

4.255, when round it , i become 4.25instead of 4.26. 

untitled.JPG

i want it to be 4.26,which should be correct in my understanding

untitled.JPG

12 Replies
thomas_skariah
Creator III
Creator III

Hi Max,

If the value is 4.255 then it would be 4.25 and if it is 4.256 then it would be 4.26.

Regards,

Tom

Not applicable
Author

what does it mean when decimal is 5 , it would be ignored?

Not applicable
Author

what does it mean when decimal is 5 , it would be ignored?

Sokkorn
Master
Master

Hi,

Here should work =Round(4.255,0.01) (reture 4.26)

Regards,

Sokkorn

Not applicable
Author

above method is not working

the overall score is caculated based on the teacherquality*0.8+ overallimpression*0.2

untitled.JPG

tresesco
MVP
MVP

yes, qv shows some weird(at least i can't explain it yet) results.

round issue.PNG

Look, first two are not as expected.

Sokkorn
Master
Master

Did you set any Number format in Format tab?

er_mohit
Master II
Master II

have you tried with ceil function

ceil(1.255,0.01)

Not applicable
Author

untitled.JPG

when fixed to is "3" it comes out 4.255,  when fixed to"2"  it is 4.25.    but i want it to be 4.26   according my knowledge on round()