I am having a problem converting a physical string to a integer. I have a dropdown list of a few items but are numbers though in chracters. I ned to output the value and the text of the selected item. As I cannot use a if-else statement, any help would be great.
Your function works can you somewhat elaborate on how it is converting the written string to its perspective numerical value.
Thanks for your help