Solved

New Responsive form decimal places on variable

  • 26 February 2021
  • 3 replies
  • 41 views

Badge +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?

icon

Best answer by ghaiashish 9 March 2021, 07:35

View original

3 replies

Userlevel 2

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

Badge +1

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)

Userlevel 2

Exactly!!

Reply