           @errorMsg()
 
       display: ->
-        @view.display(@displayValue())
+        to_disp = @displayValue()
+        @view.display(to_disp)
 
       errorMsg: -> "Error"
 


      displayValue: ->
        if !@current_expression.isError()
          val = @current_expression.display()
          if val.length == 0
            '0'
          else

          @reset_on_next_number = false
          @updateCurrentExpression @math.expression.build()

        cmd = @math.commands.add_number_to_end.build(value: button_options.value)
        @updateCurrentExpressionWithCommand cmd

      exponentClick: ->
