Skip to main content
Nintex Community Menu Bar

How to add the thousands separator to an integer in Nintex Workflow?

  • January 7, 2022
  • 2 replies
  • 138 views

Hello,
I have an integer and I want to add the thousands separator to it. How do I do it in Nintex Workflow? Please help!!!

 

Thanks and regards,
Smita

2 replies

Forum|alt.badge.img+11
  • Contributor
  • January 7, 2022

If you use the "Apply a regular expression" action with the Replace operation, you can use the following pattern and replacement text to get a text variable with commas separators.

 

Pattern: ([0-9]{1,3})(?=([0-9]{3})+(?![0-9]))

Replacement text: $1,

 

 

The above configuration results in this value for the test variable: 123,456,789

 

 


  • Author
  • January 10, 2022

Thank you so much!! My issue was resolved!!

Best Regards,
Smita