Forum Discussion

Norman_Glenn's avatar
Norman_Glenn
Brass Contributor
Feb 09, 2022
Solved

Roundup

I am able to round up eg. 1.2 roundup to 2 and 0.9 roundup to 1. But I can't find out what to do is that if their a -number change to 0 or leave blank. eg. -0.3 to 0 or -1.6 to 0. I keep getting-0.3 t...
  • mtarler's avatar
    Feb 09, 2022
    easiest is probably to enclose it in a MAX(...,0) since any negative number is <0 then MAX will take the 0 instead.