2009-06-04から1日間の記事一覧
簡易電卓 0で割ったときの処理を作り込むのは、本質的では無いのでやめておく。 function Calculator(display) { this.display = display; this.display.value = 0; this.input = 0; this.total = 0; this.tmpOpe = ''; this.tFlag = false; } Calculator.pr…
簡易電卓 0で割ったときの処理を作り込むのは、本質的では無いのでやめておく。 function Calculator(display) { this.display = display; this.display.value = 0; this.input = 0; this.total = 0; this.tmpOpe = ''; this.tFlag = false; } Calculator.pr…