I'm building a flow to take a List item's values, map them to a Microsoft Word template, and save it as a proposal document. Initially, I ran into issues with formatting the calculated values correctly as currency in the Word template, but I found how to Compose the value as an integer and format it appropriately, as shown in the screenshot below:
Compose function - int(triggerBody()?['CalculatedColumn'])

Now I'm running into issues with two values that are unable to be converted to integers.
"Unable to process template language expressions in action 'Compose' inputs at line '1' and column '3042': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'."

Does anyone have suggestions on what I should try next?