What do I need to do in order to enter the cost in $ ?
Discussion posts and replies are publicly visible
Can you clarify what you mean / what you're hoping to have happen?
In general, you don't need to do anything extra here for it to *work* - the "cost" field is a decimal value in which the user may type a decimal value and such will be stored into the variable pointed to by its saveInto parameter.
Now that does mean the user would be able to type values that "seem" wrong like "1.7777" for instance, so if you are wanting to prevent against "stupid user entry issues", you would need to sanitize the input and/or give validation errors if something funny was input. But this all depends on your needs & use case, which you haven't specified.
Hello aishwaryap0266, For storing the integer/decimal value you do not need to save in currency format. May be when you are displaying it to the user you can add a "$" symbol. While collecting the info for your cost* info field you can add an instruction or Place holder or even change label into Cost (USD) instead.
If you are planning for calculations from USD to any other currency you can make use of some expression rules based on your requirement or you can refer this plugin, may be it will be useful.
community.appian.com/.../currency-functions
Use a text field to capture the cost and wrap the display value in the dollar() function - dollar(ri!cost).
Yes, I have given the validation to prevent users from entering wrong value.
Thank you for replying.
In the acceptance criteria it was only mentioned that the user should be able to enter the cost in $.
Hello
Thank you for replying,
It was helpful
Thank you for replying, I learned something new