mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
removing one more factorial reference
This commit is contained in:
@ -63,7 +63,6 @@ class CalculatorImpl(calculator: Calculator, val context: Context) {
|
|||||||
|
|
||||||
when {
|
when {
|
||||||
sign == "√" -> setFormula(sign + first)
|
sign == "√" -> setFormula(sign + first)
|
||||||
sign == "!" -> setFormula(first + sign)
|
|
||||||
sign.isNotEmpty() -> {
|
sign.isNotEmpty() -> {
|
||||||
if (secondValue.compareTo(BigDecimal.ZERO) == 0 && sign == "/") {
|
if (secondValue.compareTo(BigDecimal.ZERO) == 0 && sign == "/") {
|
||||||
context.toast(context.getString(R.string.formula_divide_by_zero_error))
|
context.toast(context.getString(R.string.formula_divide_by_zero_error))
|
||||||
|
Reference in New Issue
Block a user