Error with decimals in Calculated Fields on Workflow

I installed SuiteCRM 7.11.5, i have an error on a Calculated Field of a Workflow.
The field is a Decimal type and formula is {subtract({P0}; {P1} )} , with {P0}=3 and {P1}=0.42, either fields are also Decimal Type
But the calculation gives me a result of 258.00 instead of 2.58
I suppose that could be a missing decimal point issue, because with integer value in parameters the calculation results correct
Also, if i apply thi formula on a Text type field instead of a Decimal type, i correctly see a “2.58” string

I think it was reported on Github but it hasn’t been resolved. The person who posted it seems to have a workaround. Check here: