MCPcopy Index your code
hub / github.com/MapServer/MapServer / msStringParseDouble

Function msStringParseDouble

mapwcs20.c:94–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92/************************************************************************/
93
94static int msStringParseDouble(const char *string, double *dest)
95{
96 char *parse_check = NULL;
97 *dest = strtod(string, &parse_check);
98 if(parse_check == string)
99 {
100 return MS_FAILURE;
101 }
102 else if(parse_check - strlen(string) != string)
103 {
104 return MS_DONE;
105 }
106 return MS_SUCCESS;
107}
108
109/************************************************************************/
110/* msWCSParseTimeOrScalar20() */

Calls

no outgoing calls

Tested by

no test coverage detected