JavaScript calculator



I created a scientific programmable button operated calculator in JavaScript. It's somewhat inspired by HP calculators. What do you guys think of it?

It's got many functions, but one issue to note is that secondary (2nd, inv and hyp) functions aren't labeled on buttons, they're only shown in a mouseover tooltip.

Its programming ability is really easy, e.g. to calculate the integral of x^2 from 0 to 100, in RPN mode (first set the Alg dropdown to RPN), press PRGM, x^2, PRGM, 0, ENTER, 100, ENTER, 100, ENTER, INTEGRATE, and it should show 333333. (the second 100 is the number of steps for precision)

Please provide feedback.

It's here:


Edited: 17 June 2011, 4:52 p.m. after one or more responses were posted


My first reaction, having missed the note about the "Alg dropdown", was to paraphrase the general populace when confronted with an RPN calculator in saying: "Where's the ENTER key?" :-)

I like the "hover help". If only more "real calculators" had this feature (taking into account the HP-42, etc.).

Nice job!


It would be useful to open a new tab or window for the manual instead of replacing the calculator with the manual in the same tab/window.

Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-35 Microcode-level Emulator (in JavaScript!) Ashley Nathan Feniello 4 1,162 10-02-2010, 03:23 PM
Last Post: Frank Boehm (Germany)
  HP-35 Microcode-level Emulator (in JavaScript!) Ashley Nathan Feniello 1 755 09-02-2010, 01:39 AM
Last Post: Pal G.
  Javascript RPN calculators? Gene Wright 10 1,987 07-11-2007, 01:47 AM
Last Post: Alain Mellan

Forum Jump: