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

GetFloat() public method

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

            return value.GetFloat();
        }