Skip to main content
Nintex Community Menu Bar
Question

Numbers validations

  • May 6, 2024
  • 3 replies
  • 55 views

Forum|alt.badge.img+5

How I can return a number with decimal places format for value comes from API.

 

it comes as shown below,

I need it to be as 184,805.65

3 replies

Garrett
Forum|alt.badge.img+16
  • Scout
  • May 6, 2024

Hi @wejdan 

Consider using Regular Expression

PATTERN
[0-9](?=(?:[0-9]{3})+(?![0-9]))

REPLACEMENT TEXT
$&,

 

 


Chris_Ben
Nintex Employee
Forum|alt.badge.img+14
  • Nintex Employee
  • May 6, 2024

Also the format number to string function will help but keep in mind it won’t round to 2 decimal places.


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • May 13, 2024

Hi @wejdan 
Did these answers solve your question?