[ Top page ]

« Java program examples for dialogue (chat) | Main | An editor for Apple II »

Information, Computation and Programming

A calculator program by JavaScript

In 1996, I wrote a simple calculator as study program. This is a calculator only for four basic operations (i.e., "+", "-", "*", "/"). However, it is different from normal calculators; it does not evaluate the expression until you enter "=". I feel relieved because I can find error inputs easier. JavaScript is now used everywhere, but I think this program is a more educational because it is simpler and you can see the behavior of this program more easily.

Keywords: JavaScript, calculator

TrackBack

TrackBack URL for this entry:
http://www.kanadas.com/mt/mt-tb.cgi/7

Listed below are links to weblogs that reference A calculator program by JavaScript:

» JavaScript による電卓のプログラム from カナダからのブログ
A Japanese description of the calculator program by JavaScript. [Read More]

Post a comment

About

This page contains a single entry from the blog posted on September 30, 2006 10:42 PM.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.36