Akka.Configuration.Config.GetDecimal C# (CSharp) Method

GetDecimal() public method

Retrieves a decimal value from the specified path in the configuration.
public GetDecimal ( string path, decimal @default ) : decimal
path string The path that contains the value to retrieve.
@default decimal
return decimal
        public virtual decimal GetDecimal(string path, decimal @default = 0)
        {
            HoconValue value = GetNode(path);
            if (value == null)
                return @default;

            return value.GetDecimal();
        }