parent
4ec7454e5d
commit
159002331e
@ -0,0 +1,24 @@
|
|||||||
|
# ccon
|
||||||
|
|
||||||
|
`ccon` is a currency converter.
|
||||||
|
It uses the standard "units" utility.
|
||||||
|
Once installed via the `units` package in most repositories, you may use `ccon` to avoid some of the weird syntaxes used by `units`.
|
||||||
|
After installing `units`, run the `units_cur` command to get a current table of currency conversions.
|
||||||
|
You may want to occasionally run `units_cur` again just to make sure you're up to date.
|
||||||
|
|
||||||
|
To use this script, use the following format: `ccon <number of base currency> <base currency> <currency to convert to>`; examples:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ccon 1 USD CAD
|
||||||
|
1.25
|
||||||
|
$ ccon 1 CAD USD
|
||||||
|
0.80
|
||||||
|
$ ccon 1 CAD TWD
|
||||||
|
22.08
|
||||||
|
$ ccon 52 AUD GBP
|
||||||
|
27.48
|
||||||
|
$ ccon 22.37 USD NZD
|
||||||
|
33.03
|
||||||
|
```
|
||||||
|
|
||||||
|
Have fun!
|
Loading…
Reference in new issue