# Simple Javascript Calculator

## Usage

**Memory**: Use M+ to store a number and use MR to recall and insert the stored number into a calculation.

**PI**: 5*Π=15.707...

**Tip**: Calculations can be directly typed into the answer box.

## Examples

### Percentages

Q. What is 75% of 120?

A. The percentage is 75*120/100 = 90

Q. What percentage of 120 is 90?

A. The percentage is 90/120 *100 = 75%

Q. What is the percentage change from x to y?

A. The percentage change is y minus x, divide the answer by x and multiply by 100. The formula can be entered as (y-x)/x*100.

Example. x=40 to y=60, (60-40)/40*100=50%

### Conversions - approximate

Inches to Centimeters. Inches * 2.54 = Centimeters.

Centimeters to Inches. Centimeters * 0.393 = Inches

Feet to Meters. Feet * 0.3048 = Meters

Meters to Feet. Meters * 3.28 = Feet

Miles to Kilometers. Miles * 1.61 = Kilometers

Kilometers to Miles. Kilometers * 0.62 = Miles

Golden ratio = 1.61803399