Calculator Panel Help

General

The calculator panel is as simple or as complex as you want to make it. For most people simple addition, subtraction, multiplication & division will be enough. For those needing more the calculator uses the javascript Math object to handle more advanced functions.

To use simply type in an equation then click the calculate button. Opera will evaluate the sum & replace it with the answer.

eg. Type in "1+1" then click the 'calculate' button & Opera will return the answer as "2". The equations can be as long as you like as long as they are mathematically correct eg. ((14 +5 - (3*2))+1)/7

Should you wish to look back on your work click the 'show history' button & all of theequations that you have entered into the calculator will be listed in the text area.

Here follows a complete list of all the functions you can tap into this calculator.

Basic functions

x + y
Returns x plus y

x - y
Returns x - y

x * y
Returns x multiplied by y

x / y
Returns x divided by y

x % y
Returns the modulus of x in y

x!
Returns the factorial of x. Only works for positive integers, large numbers will take a long time to calculate.

Advanced functions

Important! These functions are CASE SENSITIVE, so don't forget your capital 'M'.

Value functions

Math.E
Returns the base of a natural logarithm

Math.LN2
Returns the natural logarithm of 2

Math.LN10
Returns the natural logarithm of 10

Math.LOG2E
Returns the base-2 logarithm of E

Math.LOG10E
Returns the base-10 logarithm of E

Math.PI
Returns PI

Math.SQRT1_2
Returns 1 divided by the square root of 2

Math.SQRT2
Returns the square root of 2

Math.random()
Returns a random number between 0 and 1

Rounding functions

Math.round(x)
Rounds x to the nearest integer

Math.abs(x)
Returns the absolute value of x

Math.floor(x)
Returns the nearest integer less than or equal to x

Math.ceil(x)
Returns the nearest integer greater than or equal to x

Trigonometry functions

Math.sin(x)
Returns the sine of x

Math.cos(x)
Returns the cosine of x

Math.tan(x)
Returns the tangent of x

Math.acos(x)
Returns the arccosine of x

Math.asin(x)
Returns the arcsine of x

Math.atan(x)
Returns the arctangent of x

Math.atan2(y,x)
Returns the angle from the x axis to a point

Comparison functions

Math.max(x,y)
Returns the number with the highest value of x and y

Math.min(x,y)
Returns the number with the lowest value of x and y

Other calculations

Math.exp(x)
Returns the value of E raised to the power of x

Math.log(x)
Returns the natural log of x

Math.pow(x,y)
Returns the value of the number x raised to the power of y

Math.sqrt(x)
Returns the square root of x

Conversion functions

Conv.in-ft(x)
Converts X inches to feet.

Conv.in-ya(x)
Converts X inches to yards.

Conv.in-fu(x)
Converts X inches to furlongs.

Conv.in-mi(x)
Converts X inches to miles.

Conv.in-mm(x)
Converts X inches to milimetres.

Conv.in-cm(x)
Converts X inches to centimetres.

Conv.in-me(x)
Converts X inches to metres.

Conv.in-km(x)
Converts X inches to kilometres.

Conv.ft-in(x)
Converts X feet to inches.

Conv.ft-ya(x)
Converts X feet to yards.

Conv.ft-fu(x)
Converts X feet to furlongs.

Conv.ft-mi(x)
Converts X feet to miles.

Conv.ft-mm(x)
Converts X feet to milimetres.

Conv.ft-cm(x)
Converts X feet to centimetres.

Conv.ft-me(x)
Converts X feet to metres.

Conv.ft-km(x)
Converts X feet to kilometres.

Conv.ya-in(x)
Converts X yards to inches.

Conv.ya-ft(x)
Converts X yards to feet.

Conv.ya-fu(x)
Converts X yards to furlongs.

Conv.ya-mi(x)
Converts X yards to miles.

Conv.ya-mm(x)
Converts X yards to milimetres.

Conv.ya-cm(x)
Converts X yards to centimetres.

Conv.ya-me(x)
Converts X yards to metres.

Conv.ya-km(x)
Converts X yards to kilometres.

Conv.fu-in(x)
Converts X furlongs to inches.

Conv.fu-ft(x)
Converts X furlongs to feet.

Conv.fu-ya(x)
Converts X furlongs to yards.

Conv.fu-mi(x)
Converts X furlongs to miles.

Conv.fu-mm(x)
Converts X furlongs to milimetres.

Conv.fu-cm(x)
Converts X furlongs to centimetres.

Conv.fu-me(x)
Converts X furlongs to metres.

Conv.fu-km(x)
Converts X furlongs to kilometres.

Conv.mi-in(x)
Converts X miles to inches.

Conv.mi-ft(x)
Converts X miles to feet.

Conv.mi-ya(x)
Converts X miles to yards.

Conv.mi-fu(x)
Converts X miles to furlongs.

Conv.mi-mm(x)
Converts X miles to milimetres.

Conv.mi-cm(x)
Converts X miles to centimetres.

Conv.mi-me(x)
Converts X miles to metres.

Conv.mi-km(x)
Converts X miles to kilometres.

Conv.mm-in(x)
Converts X milimetres to inches.

Conv.mm-ft(x)
Converts X milimetres to feet.

Conv.mm-ya(x)
Converts X milimetres to yards.

Conv.mm-fu(x)
Converts X milimetres to furlongs.

Conv.mm-mi(x)
Converts X milimetres to miles.

Conv.mm-cm(x)
Converts X milimetres to centimetres.

Conv.mm-me(x)
Converts X milimetres to metres.

Conv.mm-km(x)
Converts X milimetres to kilometres.

Conv.cm-in(x)
Converts X centimetres to inches.

Conv.cm-ft(x)
Converts X centimetres to feet.

Conv.cm-ya(x)
Converts X centimetres to yards.

Conv.cm-fu(x)
Converts X centimetres to furlongs.

Conv.cm-mi(x)
Converts X centimetres to miles.

Conv.cm-mm(x)
Converts X centimetres to milimetres.

Conv.cm-m(x)
Converts X centimetres to metres.

Conv.cm-km(x)
Converts X centimetres to kilometres.

Conv.me-in(x)
Converts X metres to inches.

Conv.me-ft(x)
Converts X metres to feet.

Conv.me-ya(x)
Converts X metres to yards.

Conv.me-fu(x)
Converts X metres to furlongs.

Conv.me-mi(x)
Converts X metres to miles.

Conv.me-mm(x)
Converts X metres to milimetres.

Conv.me-cm(x)
Converts X metres to centimetres.

Conv.me-km(x)
Converts X metres to kilometres.

Conv.km-in(x)
Converts X kilometres to inches.

Conv.km-ft(x)
Converts X kilometres to feet.

Conv.km-ya(x)
Converts X kilometres to yards.

Conv.km-fu(x)
Converts X kilometres to furlongs.

Conv.km-mi(x)
Converts X kilometres to miles.

Conv.km-mm(x)
Converts X kilometres to milimetres.

Conv.km-cm(x)
Converts X kilometres to centimetres.

Conv.km-me(x)
Converts X kilometres to metres.

Date functions

Date.westernzodiac(ddmmyyyy)
Returns the Western Zodiac sign for someone born on dd/mm/yyyy.

Date.chinesezodiac(ddmmyyyy)
Returns the Chinese zodiac sign for someone born on dd/mm/yyyy.