Monday, April 30, 2012

::: Trick to use Opera Mini as a Calculator :::


Whats the need of using a different Calculator when you use Opera Mini ?
From now on you may turn your Opera Mini into a Calculator.

¤ Type the following codes in the address bar
of Opera Mini

¤ Press OK

¤ You will get the result.

*** Codes :
>> Addition :
javascript:alert(a+b)


* Example:
javascript:alert(2+3)

>> Substraction :
javascript:alert(a-b)


* Example:
javascript:alert(9-7)

>> Multiplication :
javascript:alert(a*b)


* Example:
javascript:alert(3*3)

>> Division :
javascript:alert(a/b)


* Example:
javascript:alert(9/3)

>> x power y :
javascript:alert(Math.pow(x,y))


* Example:
javascript:alert(Math.pow(3,3))

>> Square root of a :
javascript:alert(Math.sqrt(a))


* Example:
javascript:alert(Math.sqrt(9))

>> Modules i.e. the remainder of the integer division of a by b :
javascript:alert(a%b)


* Example:
javascript:alert(6%4)

>> Minimum/Maximum :
javascript:alert(Math.min(a,b,c,d))


javascript:alert(Math.max(a,b,c,d))

* Example:
javascript:alert(Math.min(2,4,8,3))


javascript:alert(Math.max(2,4,8,3))

0 comments:

Post a Comment