This package exports functions and data to process iso4217 currency codes.
License:
AGPL3
Copyright Pascal J. Bourguignon 2004 - 2012
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program.
If not, see <http://www.gnu.org/licenses/>
|
(cc-country country-currency-row) |
function |
The country of the currency.
|
(cc-currency country-currency-row) |
function |
The currency.
|
(cc-note country-currency-row) |
function |
A note.
|
(currency-alphabetic-code currency) |
function |
The alphabetic code (3 letters) of the currency.
|
(currency-minor-unit currency) |
function |
The number of digits after the decimal point for amounts in the currency.
|
(currency-name currency) |
function |
The name of the currency
|
(currency-numeric-code currency) |
function |
The numeric code (between 0 and 999) of the currency.
|
(find-currency designator) |
function |
DESIGNATOR: An integer between 0 and 999, or a string or a symbol,
or a list whose first element is an integer between 0 and 999,
or a string or a symbol,
RETURN: A currency structure (list) if the designator matches one,
or nil if none found.
RAISE: An error when the type of DESIGNATOR is not as described above.
|
(get-currencies &key only-existing order language) |
function |
ONLY-EXISTING: NOT IMPLEMENTED YET. Select only currencly in current use.
LANGUAGE: NOT IMPLEMENTED YET.
ORDER: :NAME or :ALPHABETIC-CODE or :NUMERIC-CODE.
if not specified, no ordering is done.
RETURN: A list of CURRENCY:
(alphabetic-code numeric-code minor-unit name).