Skip to main content
Nintex Community Menu Bar
Answer

Number field rounding in docgen

  • June 30, 2020
  • 2 replies
  • 260 views

Forum|alt.badge.img+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

Best answer by leighburke

@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.

 

2 replies

Forum|alt.badge.img+14
  • Nintex Employee
  • Answer
  • July 1, 2020

@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.

 


Forum|alt.badge.img+10
  • Author
  • Scholar
  • July 1, 2020
That worked! Thank you!!