Ejemplo n.º 1
0
        private static int ParseResponseMilliseconds(string text)
        {
            double seconds = StringTool.MatchDouble(text, 10d);

            return((int)(seconds * 1000));
        }
Ejemplo n.º 2
0
        private static int ParseResponseMilliseconds(string text)
        {
            double seconds = StringTool.MatchDouble(text, 10d);            //The result may be Zero.

            return(Math.Max(500, (int)(seconds * 1000)));
        }