示例#1
0
        /// <inheritdoc cref="GetDouble(string,double)"/>
        public double GetDouble(HoconPath path, double @default = 0)
        {
            HoconValue value = GetNode(path);

            if (ReferenceEquals(value, HoconValue.Undefined))
            {
                return(@default);
            }

            return(value.GetDouble());
        }