Math.js command to roud up or down

I am using a logic card to round my value.
Round() works fine

Looking at the math.js library it should be possible to round up or down by using
ceil()
floor()

But it does not seem to work.
Any tips?

This even complete makes the app crash…
The variable shows “empty” and when I select the variable it hangs
image

Please omit the math. part from math.floor
(That’s only needed in Better Logic mathjs calculations)

Found out what I did wrong…

Round() can be used with number of decimal places
Round(X,0).
Thats what I was using.

I replaced Round by Ceil, but Ceil(X,0) does not work…
Removed the ,0 now its working fine