Skip to main content
Nintex Community Menu Bar
Answer

New Responsive form decimal places on variable

  • February 26, 2021
  • 3 replies
  • 94 views

Forum|alt.badge.img+1

I have created a variable that does a calculation and shows a value. The variable is a Decimal and shows 10 decimal places. Can I shorten that to two?

Best answer by ghaiashish

Use "round()" function on the responsive form, see screenshot.

3 replies

ghaiashish
  • Answer
  • March 9, 2021

Use "round()" function on the responsive form, see screenshot.


Forum|alt.badge.img+1
  • Author
  • Rookie
  • March 10, 2021

Perfect! So 

ifElse([Form].[Gross_x0020_Up_x0020_for_x0020_T]==true,ifElse([Form].[Recipients Company]=="Company.",[Form].[Gross_IA],[Form].[Gross_SD]),[Form].[Amount])

 

becomes

 

round(ifElse([Form].[Gross_x0020_Up_x0020_for_x0020_T]==true,ifElse([Form].[Recipients Company]=="Company",[Form].[Gross_IA],[Form].[Gross_SD]),[Form].[Amount]),2)


ghaiashish

Exactly!!