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 . '"');
	}
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 . '"');
	}
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 . '"' ) ; }
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.
Get a floating point value by key .