currencygithub.com/castedo/isomon

Name

isomon::data::code2isonum — Low-level C function to return ISO numeric from string.

Synopsis

// In header: </home/castedo/src/isomon/currency_data.h>


bool code2isonum(const char * alpha_code, isonum_t * out);

Description

Parameters:

alpha_code

null-terminated string of ISO code.

out

NON-ZERO pointer to isonum_t variable to hold ISO numeric.

Returns:

true iff alpha_code found as ISO alphabetic code and ISO numeric written to out.