Open kyyeo opened 2 years ago
`if (number === '.' && this.currentOperand.includes('.')) return`
should be if (number === '.' && this.currentOperand.toString().includes('.')) return
if (number === '.' && this.currentOperand.toString().includes('.')) return
otherwise, appending a dot is not possible after a equalsButton compute()
should be
if (number === '.' && this.currentOperand.toString().includes('.')) return
otherwise, appending a dot is not possible after a equalsButton compute()