Solved

Number field rounding in docgen

  • 1 July 2020
  • 2 replies
  • 109 views

Badge +10

I have a calculated field in SharePoint that is set to have zero decimals. I have a workflow with a docgen action that uses that field. The export always shows a large number of decimals. Is there any way to force the round? I saw one post that said you can format the fields in the tagger, but I can't figure out how to do that.

 

Example: SharePoint lists calculates as 30, the PDF shows 30.0000000034925

icon

Best answer by leighburke 1 July 2020, 06:11

View original

2 replies

Userlevel 5
Badge +13

@aak1 I would suggest using a field code in the word template, crtl+ F9 will insert one or you can do it via the tabs(https://support.microsoft.com/en-us/office/insert-edit-and-view-fields-in-word-c429bbb0-8669-48a7-bd24-bab6ba6b06bb?ui=en-US&rs=en-US&ad=US). Your field code would look like the below, it will take the value of that field and round it for you.



 

Badge +10
That worked! Thank you!!

Reply