github.com/castedo/isomon |
isomon::data::set_num_minors — Set number of minors per major unit for currency.
// In header: </home/castedo/src/isomon/currency_data.h> bool set_num_minors(int16_t isonum, int16_t num_minors, int8_t num_digits);
Not thread-safe. Typically this would only be called during program initialization. At most 16 distinct numbers of minors can be used across all currencies. If a currency is set to use 17th possible number of minors, this function will return false and fail.
Parameters: |
|