mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-03-26 16:20:08 +01:00
removing one more factorial reference
This commit is contained in:
parent
ae69401aa7
commit
c7b1899146
@ -63,7 +63,6 @@ class CalculatorImpl(calculator: Calculator, val context: Context) {
|
||||
|
||||
when {
|
||||
sign == "√" -> setFormula(sign + first)
|
||||
sign == "!" -> setFormula(first + sign)
|
||||
sign.isNotEmpty() -> {
|
||||
if (secondValue.compareTo(BigDecimal.ZERO) == 0 && sign == "/") {
|
||||
context.toast(context.getString(R.string.formula_divide_by_zero_error))
|
||||
|
Loading…
x
Reference in New Issue
Block a user