You are assigning to result before you've read in the value for number.
stores the result of the expression (number/28) in result, not the expression itself. So the result variable will not auto update when you change 'number'Code:result = number/28;