Get a floating point value by key.

@param string $key
@param float $default
@return float

@throws \OutOfBoundsException When the key was not found and no default value is given.
10131
public function getFloat($key)
	{
		$resolved = false;
		$value = $this->getByKey($key, $this->data, $resolved);
		
		if($resolved)
		{
			return floatval($value);
		}
		
		if(func_num_args() > 1)
		{
			return func_get_arg(1);
		}
		
		throw new \OutOfBoundsException('Configuration setting not found: "' . $key . '"');
	}
317921
public function getSettingsValue($key, $default = null)
    {
        if (array_key_exists($key, $this->fieldValues)) {
            return $this->fieldValues[$key];
        }

        return array_get($this->fieldValues, $key, $default);
    }
475736
public function get($key, $default = null)
    {
        if ($this->has($key)) {
            return $this->values[$key][static::VALUE];
        }

        return $default;
    }
272821
public function getCfgValue($key, $default = null)
    {
        $value = $default;

        $cfg = $this->config->getCfg();

        if ($cfg) {
            $value = $cfg->get($key, $default);
        }

        return $value;
    }
278116
public static function get($key, $default = null)
    {
        return isset(self::$variables[$key]) ? self::$variables[$key] : $default;
    }
321192
public function get($key)
    {
        if (!array_key_exists($key, $this->properties)) {
            throw new \OutOfBoundsException(sprintf('Key "%s" does not exist', $key));
        }

        return $this->properties[$key];
    }
804307
public function returnOrSet($key, $default = null)
    {
        if ($this->offsetExists($key)) {
            return $this->offsetGet($key);
        }
        $this->offsetSet($key, $default);

        return $default;
    }
329215
public function get($key, $default = NULL) {
    $value = parent::get($key);

    if (isset($value)) {
      return $value;
    }

    return $default;
  }
1196749
public function get($key, $default = null)
    {
        $pointer = &$this->registry;
        $segments = explode('.', $key);

        do {
            $segment = array_shift($segments);

            if (isset($pointer[$segment])) {
                $pointer =& $this->move($pointer, $value, $segments, $segment);
            } else {
                $value = $default;
                break;
            }
        } while (false === empty($segments));

        return $value;
    }
658272
public function get(string $key, $default = null)
    {
        return ($value = $this->offsetGet($key)) === null ? $default : $value;
    }
794714
public function get($key, $default = false)
    {
        $value = $this->translate($this->fullkey($key), $default);

        if (is_string($value)) {
            $value = $this->resolve($value);
        } elseif (is_array($value)) {
            foreach ($value as &$subValue) {
                $subValue = $this->resolve($subValue);
            }
        }

        return $value;
    }
1250709
public function getOne($key, $default = null)
    {
        $ret = $default;
        $all = $this->get($key);
        if (count($all) > 0) {
            $ret = array_shift($all);
        }

        return $ret;
    }
1000185
public function get(string $key, $default = null)
    {
        if ($this->has($key)) {
            return parent::get($key)['value'];
        }

        return $default;
    }
107359
public function getBool(string $key): bool
    {
        $resolved = false;
        $value = $this->getByKey($key, $this->data, $resolved);
        
        if ($resolved) {
            return $value ? true : false;
        }
        
        if (\func_num_args() > 1) {
            return \func_get_arg(1) ? true : false;
        }
        
        throw new \OutOfBoundsException(\sprintf('Configuration setting not found: "%s"', $key));
    }
378534
public static function get($key=null,$default=null){
    return $key ? (filter_input(INPUT_GET,$key) ?: (is_callable($default)?call_user_func($default):$default)) : $_GET;
  }
461080
public static function get( $key, $default = null ) {
        if ( ! self::has($key) ) {
            if ( $default instanceof FrameworkException ) throw $default;
            return $default;
        }
        
        $key_array = preg_split('/\./', $key );
        $return = self::$data;

        foreach($key_array as $k)
            $return = $return[$k];

        return $return;
    }
854359
public float getFloat(String key) {
		addToDefaults(key, null);
		String value = getRequired(key);
		return Float.valueOf(value);
	}