[Axapta-Knowledge-Village] Ceiling function in X++

2009-05-07 Thread Tom Scott
Hi, I was wondering if there is a ceiling (i.e. round up) function in X++. I have tried playing with the round() function but I haven't managed to make it behave as I want it. I want to round up to the nearest integer, i.e.: a = 5.2; b = 5.5; c = 5.0; ceiling(a) = 6 ceiling(b) = 6 ceiling(c) =

Re: [Axapta-Knowledge-Village] Ceiling function in X++

2009-05-07 Thread Agus Riyadi
Hi, Use Global::roundup() or just roundup() Regards, Agus On Thu, May 7, 2009 at 5:43 PM, Tom Scott tom.sc...@britishceramictile.comwrote: Hi, I was wondering if there is a ceiling (i.e. round up) function in X++. I have tried playing with the round() function but I haven't managed to