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