示例#1
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public double GetDouble(string key, double defValue)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToDouble(map[key]));
            }

            return(defValue);
        }
示例#2
0
文件: WMap.cs 项目: giosil/NetJsonRpc
        public double GetDouble(string key)
        {
            if (map.ContainsKey(key))
            {
                return(WUtil.ToDouble(map[key]));
            }

            return(0.0d);
        }
示例#3
0
 public double GetDouble(int index, double defValue)
 {
     return WUtil.ToDouble(list[index], defValue);
 }
示例#4
0
 public double GetDouble(int index)
 {
     return WUtil.ToDouble(list[index]);
 }