RSP_percentConvert

Name

RSP_percentConvert -- Converts percent value to decimal.

Synopsis

float RSP_percentConvert(char *data);

Description

This function converts a percentage into a decimal.

Examples are:

Returns

Returns a float integer representation of the given data (or -1 if an error occurred).

Error Conditions

If an error occurs, -1 will be returned and rsp_error will be set to the following error code: