Here is a really simple JavaScript calculator with just 5 functions (add, subtract, multiply, divide, and power). This example can help you see how JavaScript evaluates math functions! Check it out!


               =

5 Function Calculator

Simply click inside the window below, use your cursor to hilight the script, and copy the script into a new file in your text editor (Note Pad or MultiEdit) and save.