Re: ceiling function
Posted by
Albert Cardona-2 on
URL: http://imagej.273.s1.nabble.com/ceiling-function-tp3683582p3683587.html
2011/8/7 Wes Armour <
[hidden email]>:
> Hi,
>
>
>
> I am writing an imagej macro. In it I need to round up to the nearest integer e.g. 2.1 -> 3 Normally this can be done with the ceiling function, is there a function like this in imagej macro language?? I've found round and floor, but no ceil.
So you could add 1 and then call floor ?
Albert
--
http://albert.rierol.nethttp://www.ini.uzh.ch/~acardona/