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;
	}