If i enter the value ,the value should be like 56.00 ,i tried , unable to achieve it
it is in floatingPointField function
Discussion posts and replies are publicly visible
Is your value saved inside integer or decimal variables?
Even though it is Decimal, Appian by default ignores any 00s in it.
Why do you want to save leading .00s anyway? if you have anything like 56.01 will work and if you try 56.10 (which again will be 56.1).
I use normal text fields to display numbers in a custom format. Use the text() function to define the format you like.
Hi Dinesh Arumugam ,As Stefan mentioned, use the text field as shown in below picture:Understand if you are using Number(Integer) as rule input, if you try to enter random decimal values will return the similar output shown in above picture as it's an int field, if using Number(Decimal) then it will return only the number of decimal places you use "#" in text function, others will be ignored!
use text(ri!number,"00.00"), in value so what you are entering it will display like (56.00) format,example:
a!textField( label: "Number", labelPosition: "ABOVE", value: text(ri!number,"00.00"), saveInto: ri!number, refreshAfter: "UNFOCUS", validations: {} )
Hi Dinesh Arumugam
Use text() function to define the format you like.