Money library
Description
The C++ library that proposes currency / money types. Types are defined in mc namespace.
Installation
This is a NetBeans project, you can just use this nice IDE for building. Was simple cmake configuration file created. If you has cmake, do next:
mkdir dist
cd dist
cmake -G "Unix Makefiles" ..
Usage
using mc::currency;
using mc::money;
using mc::_USD;
using mc::_GBP;
money cash = 200.0_USD;
std::cout << cash.convert( currency::GBP, 1.14).to_string();
TODO:
implement precision and round rules