Created
May 31, 2017 08:15
-
-
Save manas-raj-shrestha/369daed0ee961de95931cfaf685b2307 to your computer and use it in GitHub Desktop.
Variable declarations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MainActivity : AppCompatActivity(), View.OnClickListener { | |
val TAG_NUMBER = "number" | |
val TAG_OPERATOR = "operator" | |
val TAG_OPERATION = "operation" | |
val OPERATION_DEL = "⌫" | |
val OPERATION_CLEAR = "C" | |
val OPERATION_EQUALS = "=" | |
val OPERATOR_ADD = "+" | |
val OPERATOR_SUBTRACT = "-" | |
val OPERATOR_DIVIDE = "/" | |
val OPERATOR_MULTIPLY = "x" | |
val OPERATOR_PERCENTAGE = "%" | |
var valueOne: Double = Double.NaN | |
var valueTwo: Double = 0.0 | |
var currentAction: String = String() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment