Hi all,
I have a workflow that takes values from a SharePoint list and uses the values to populate a Microsoft word template, which then creates a word file.
In my SharePoint list, I have currency columns and a calculated column that adds the total of all the currency columns.
My workflow goes like this:
1. User fills out Microsoft form
2. Results populate SharePoint list
3. Approval Workflow is triggered.
4. SharePoint list is updated.
5. SharePoint list populates Word Template.
6. Document/file is created from the template and saved.
Test 1 (on created word file):
Currency values have 2 decimal limit, but no comma: 13489.00
Total values have no decimal limit or commas: 14500.0000000000
Test 2 (on created word file):
I use the following solution here: https://powerusers.microsoft.com/t5/Building-Flows/decimal-place/td-p/50303
Currency values have 2 decimal limit, but no comma: 13489.00
Total values have 2 decimal limit, but no comma: 14500.00
Question:
Is there a solution for me to have both commas and decimals? These values populating word documents that are being used as contracts (for action, signing, etc) so the values need to be specific and easy to read.
In my SharePoint list, there are no issues with comma or decimal placement, it's only when my workflow takes that same value and inputs it into my word template to create a file that the errors occur. I had expected that it would just display the same value as in my SharePoint list.
I've created a few initiate/compose steps in my workflows just to create the decimal limit for each of my values, will I need to do so for the commas also? Is there a simpler way to do this?
TIA