Using the method getAmount() in the snippet below, I\'ve tried to return user input to another view but every time I call getAmount() from another view, the value returned is &q