I want to Update the item value with the formula
sub(variables('Usage time'),mul(int(variables('Usage Day')),960))
and it come up with the error ,how could i deal with the int() function

I want to Update the item value with the formula
sub(variables('Usage time'),mul(int(variables('Usage Day')),960))
and it come up with the error ,how could i deal with the int() function
Hi @Tp_Pj ,
Please check if the Usage Day is pure number with no decimal point, the int just can convert pure number.
If you want to convert float to int, please try this.
sub(variables('Usage time'),mul(int(first(split(variables('Usage Day'),'.'))),960))
Best regards,
Rimmon