Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

jscalc

(This command has been awarded a Yubnub Golden Egg)

script document.write(%s) [no url encoding]
Use javascript as a calculator.

Example: jscalc 5+6*7
Output: 47

Example: jscalc 5/6
Output: 0.8333333333333334

Example: jscalc Math.sqrt(25)
Output: 5

The command uses document.write(your argument), so it can also output other things for you.

Example: jscalc "Put strings in quotes"
Output: Put strings in quotes

Example: jscalc "5+5="+(5+5)
Output: 5+5=10
    
1245 uses - Created 2006-03-09 19:49:41 - Last used 2014-10-30 12:58:52