Formulas/FactValues.php
public static function getDecimals( $fact )
	{
		if ( ! $fact instanceof DOMXPathNavigator )
		{
			throw new \Exception( "Invalid fact variable passed to FactValues::getDecimals" );
		}

		$fact = $fact->CloneInstance();
		if ( $fact->MoveToAttribute( "decimals", null ) )
		{
			return $fact->getValue();
		}

		return false;
	}
public static function getDecimals( $fact )
	{
		if ( ! $fact instanceof DOMXPathNavigator )
		{
			throw new \Exception( "Invalid fact variable passed to FactValues::getDecimals" );
		}

		$fact = $fact->CloneInstance();
		if ( $fact->MoveToAttribute( "decimals", null ) )
		{
			return $fact->getValue();
		}

		return false;
	}
public static function getDecimals ( $ fact ) { if ( ! $ fact instanceof DOMXPathNavigator ) { throw new \ Exception ( "Invalid fact variable passed to FactValues::getDecimals" ) ; } $ fact = $ fact -> CloneInstance ( ) ; if ( $ fact -> MoveToAttribute ( "decimals" , null ) ) { return $ fact -> getValue ( ) ; } return false ; }
Get the decimals ref from XBRL instance
@param DOMXPathNavigator $fact
@return string|bool
@throws \Exception
Get the decimals ref from XBRL instance