CalculatorButton Enumeration

Enum representing the buttons on a classic calculator.

Definition

Namespace: ClassicCalculator
Assembly: ClassicCalculator (in ClassicCalculator.dll) Version: 1.0.0+5cef018da377eef51dd690d3240ce68b7f7e05df
C#
public enum CalculatorButton

Members

Zero0 Button for the digit 0.
One1 Button for the digit 1.
Two2 Button for the digit 2.
Three3 Button for the digit 3.
Four4 Button for the digit 4.
Five5 Button for the digit 5.
Six6 Button for the digit 6.
Seven7 Button for the digit 7.
Eight8 Button for the digit 8.
Nine9 Button for the digit 9.
Decimal10 Button for the decimal point.
Add11 Button for the addition operation.
Subtract12 Button for the subtraction operation.
Multiply13 Button for the multiplication operation.
Divide14 Button for the division operation.
Equals15 Button for the equals operation.
Clear16 Button to clear the current input.
Percentage17 Button for the percentage operation.
SquareRoot18 Button for the square root operation.
ToggleSign19 Button to toggle the sign of the current input.

See Also