Forum

Floor and Ceil


#1

Someone knows an easy way to calculate ceil and floor of a float?

Seems CEIL and FLOOR are not supported in Expr node, so is there another easy way?


#2

Found it using Expr (Value Advanced)
and using

return Math.Ceiling(A);

as the Term.


#3

here’s simple floor and ceil … and - if i find the time - i’ll finish this thingy here, that should complement the current MathRound (Value)