Get whole value from output value

Hello,

I’ve something like that as ouput : 126*(Floor((inputName-20)/50)+1)
But I got this error :
DMN-01002 Unable to evaluate expression for language ‘juel’: ‘${126*(Floor((inputName-20)/50)+1)}’
org.camunda.bpm.engine.impl.javax.el.ELException: Could not resolve function ‘Floor’

I don’t have any experience in juel language… Do you know how I can manage to get whole value from decimal?
Thanks in advance!

Hi @FranSaad,

you can use a FEEL expression to calculate the value. It has a built-in function floor. See

Best regards,
Philipp

Hi @Philipp_Ossler

Thanks for your reply.

I change like that :

126*(decimal((inputName-20)/50,0,“FLOOR”)+1)

But got this error :worried: : java.lang.UnsupportedOperationException: FEEL-01016 Simple Expression not supported by FEEL engine

Any help please?
Thanks in advance!

Which version do you use?
It should work in a version >= 7.13.0.

We use actually version 7.12.
We’ll upgrade and check.
Thanks