private static int ParseResponseMilliseconds(string text) { double seconds = StringTool.MatchDouble(text, 10d); return((int)(seconds * 1000)); }
private static int ParseResponseMilliseconds(string text) { double seconds = StringTool.MatchDouble(text, 10d); //The result may be Zero. return(Math.Max(500, (int)(seconds * 1000))); }