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.
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 $.