Skip to content

Commit

Permalink
Cleaned up some of the currency conversion section of the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BirdAPI committed Apr 11, 2012
1 parent bb7d343 commit 517f245
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Expand Up @@ -148,8 +148,6 @@ euros = Google.convert_currency(5.0, "USD", "EUR")
print "5.0 USD = {0} EUR".format(euros)
```

Prints:

```python
5.0 USD = 3.82350692 EUR
```
Expand All @@ -161,8 +159,6 @@ yen = Google.convert_currency(1000, "yen", "us dollars")
print "1000 yen = {0} us dollars".format(yen)
```

Prints:

```python
1000 yen = 12.379 us dollars
```
Expand All @@ -174,20 +170,16 @@ rate = Google.exchange_rate("dollars", "pesos")
print "dollars -> pesos exchange rate = {0}".format(rate)
```

Prints:

```python
dollars -> pesos exchange rate = 13.1580679
```

Perform your own math:
Perform your own math. The following 2 statements equal:

```python
5.0 * Google.exchange_rate("USD", "EUR")
```

...is the same as:

```python
Google.convert_currency(5.0, "USD", "EUR")
```
Expand Down

0 comments on commit 517f245

Please sign in to comment.