webservices: Use sscanf to convert strings to doubles.