Pecunia 0.9.0-alpha.22
Library using the ISO-4217 currency standard & a fixed monetary unit size
|
DESCRIPTION
Pecunia is a C++ currency library using the ISO-4217 standard. Its three priorities are: 1) Safe to use, e.g. prevent common money errors from happening. 2) Simple to use, e.g. reading the code should be clear in its purpose. 3) Efficient in speed, e.g. adding two of the currencies should be as near to a raw, weak type like float or int as possible. The order of priorities are listed in the order of importance.
In addition to the Wiki, more information is found at:
BUILD ENVIRONMENT
Pecunia is mainly developed on Mageia and Fedora using just the standard development libraries, KDE, and QT. It is also tested on Debian, macOS, and Microsoft Windows.
DIRECTORY MAP
All the source code is listed in the src directory. Installation instructions can be found in the INSTALL file. For a listing of all the contributors to Pecunia you can find that information in the CREDITS file. All the current news can be be found on the main website.
EXAMPLES
Once compiled you can link it into your projects and do some of the examples below.
Add Two Currencies:
Add Two Different Currencies:
Add Two Different Currencies & Store In a Third: