I have never experienced this issue before. I have a SharePoint Number Column. In my flow I want this number to be an integer, so I simply take it and put inside the expression int(). Till now this has worked but now in a new flow I get the logic error:
"InvalidTemplate. Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
The number I am testing is
1.42857142857143
The column in SP is set to number with no decimals, but as always it still returns decimals in flow if it is not whole.
I must be missing some logic. The error above is a compose, but it also fails in a another variable of type integer. It does return in a float variable OK, but I must have an integer