Ciel function in Math step doesn't seem to work

Ciel function in Math step doesn't seem to work.

__.values(VERTEX_PROPERTY_RATE)
.as('rate')                                   .select('product')
.select('price')
.as('price')
.select('product')
.select('quantity')
.math('price * _')
// .math('ciel _')
.math('_ * rate')


This works perfectly fine (returns a number), but when I uncomment the ciel step, then I get a weird error that ciel only takes number values and I'm passing it null
Solution
ciel is mistyped. i believe you want ceil. the error is stating that math() does not recognize ciel as a function essentially and is treating it as a variable. since there is no definition for that it is
null
and math() doesn't like that.
Was this page helpful?