How to Use Browser as a Calculator

by on February 8th, 2010

For quickly calculating any figures you do not need to open calculator in windows. You can use your browser as a calculator. just a simple code will do the browser trick for you. You need to know the keyboard keys for summation, division etc. which are +, -, *, /, % and simple Javascript code. For example if you want to get summation of 5 and 5 and then minus 2 from that, copy and paste the following code in address bar of your browser and you will get the calculation right in front of you without using any additional software.

Following code will bring alert box with your calculated answer.

javascript: alert(5+5-2);