### floor and ceil function

Posted:

**Wed Oct 23, 2013 3:21 am**Hello,

Is there a floor and ceil function in neuron?

I know that I can use int for floor function , but what about ceil? ( I can not do floor + 1 because sometimes I can get a int number)

I notice that in NMOD

http://www.neuron.yale.edu/neuron/stati ... lfunc.html

there are ceil and floor functions.

Thank You.

Is there a floor and ceil function in neuron?

I know that I can use int for floor function , but what about ceil? ( I can not do floor + 1 because sometimes I can get a int number)

I notice that in NMOD

http://www.neuron.yale.edu/neuron/stati ... lfunc.html

there are ceil and floor functions.

Thank You.