AnsweredAssumed Answered

Activiti Explorer - Compare decimal values

Question asked by texano1 on Aug 1, 2014
Latest reply on Aug 4, 2014 by martin.grofcik
Hey,

In my business process i need to compare decimal numbers.

Example:

if 500,35€ >= 500 then go there
if 1000€ < 500,34 then go there
if 30,5(%) > 90 (%) then go there
if 50(%) > 10,3 (%) then go there
*the € and % are irelevant ofc.

What type should i define the input field? Long doesn't work because when i input, for example, 9993,35 i get and error: "Value must be a long", witch make sense. String type does not work aswell because if i input 9993,35 the formula, for example, if 9993,35 >= 500 then go there can't be validated.


Thanks.


Regard,
Tiago

Outcomes