Hi,
Appian supports Number with only max of 9 characters right.. If I have 10 digit amount & I wanted to perform mathematical calculations with that, in that case how to achieve this?
For Example : I have to take 10 digit number and I need to get 20% of that and add again to that number.. In that case the value converts to exponential functions..
Can anyone let me know how to resolve this issue.
Thanks
Discussion posts and replies are publicly visible
You can use the Decimal type and, for display purposes on your interface, use the fn!fixed() to make it appear as if it were an integer:
fixed( ri!myDecimal + ( 20 * ri!myDecimal/100 ), 0, false() )
Converting to decimal and then rendering the value as an integer is especially useful for getting the 20% calculation right. Doing the operation using only integers invites slight arithmetic errors.