Formulas/Resources/Assertions/ConsistencyAssertion.php
private function roundValue( $value, $precision )
	{
		if ( $precision == INF ) return $value;
		return round( $value, \XBRL_Instance::inferDecimals( $value, $precision ) );
	}
private function roundValue( $value, $precision )
	{
		if ( $precision == INF ) return $value;
		return round( $value, \XBRL_Instance::inferDecimals( $value, $precision ) );
	}
private function roundValue ( $ value , $ precision ) { if ( $ precision == INF ) return $ value ; return round ( $ value , \ XBRL_Instance :: inferDecimals ( $ value , $ precision ) ) ; }
Rounds a fact value takng into account the fact precision
@param float $value
@param int $precision
@return unknown|number
Rounds a fact value takng into account the fact precision