[PATCH v2] webservices: Use sscanf to convert strings to doubles.