This function converts a character string to an 8 byte integer value.
MCO_RET classname_fieldname_from_chars( /*OUT*/ mco_int8 scaled_num, /*IN*/ char const * buf );
scaled_num | The 8 byte integer value converted from character string |
buf |
A character string representing the value to be stored in a numeric or decimal field |
This function is generated only for decimal or numeric fields. The character string is converted to an 8 byte integer value.
MCO_S_OK | Conversion successful |
MCO_E_ILLEGAL_PARAM | Illegal value in buf |