Hi, how is possible that number 16.5 is rounded to an integer 16 and second time to 17?
Rounding bug.gh (7.5 KB)
Hi, how is possible that number 16.5 is rounded to an integer 16 and second time to 17?
Thanks for quick help!
Also - this is improved in GH2:
Thank you very much! I just hooked another integer right after pDecon and it is working for my case.
Rounding to an integer value isn’t always appropriate. Sledge hammer vs. scalpel.
Rounding to 6 or more decimal places is often enough to handle edge cases like this.