float RSP_percentConvert(char *data);
float RSP_percentConvert
This function converts a percentage into a decimal.
Examples are:
"2%"
"6.4%"
"204 percent"
"2"
Returns a float integer representation of the given data (or -1 if an error occurred).
If an error occurs, -1 will be returned and rsp_error will be set to the following error code:
RSP_INVALID_ARGS
RSP_BAD_CONVERT
RSP_LOW_MEM