This is an example of converting an entered string to an integer and then currency in response to a Reddit question. You can find the question on Reddit here
Enter a value in the text field and hit the convert button. This calls a function that will perform the conversation and return a string to be used for display.