private function roundDigit( $scale, $mode = PHP_ROUND_HALF_UP )
	{
		if ( $this->getIsCloserToNext( $scale, $mode ) )
		{
			return bcadd( $this->_value, $this->getIsNegative() ? -1 : 1, 0 );
		}

		return bcadd( $this->_value, '0', 0 );
	}
private function roundDigit( $scale, $mode = PHP_ROUND_HALF_UP )
	{
		if ( $this->getIsCloserToNext( $scale, $mode ) )
		{
			return bcadd( $this->_value, $this->getIsNegative() ? -1 : 1, 0 );
		}

		return bcadd( $this->_value, '0', 0 );
	}
private function roundDigit ( $ scale , $ mode = PHP_ROUND_HALF_UP ) { if ( $ this -> getIsCloserToNext ( $ scale , $ mode ) ) { return bcadd ( $ this -> _value , $ this -> getIsNegative ( ) ? - 1 : 1 , 0 ) ; } return bcadd ( $ this -> _value , '0' , 0 ) ; }
Round the value to the required precision and using the required mode
@param $scale The scale to use for rounding.  The digit at this position will
be rounded in the decimal part of the number will be rounded.
@param int $mode PHP_ROUND_HALF_UP (default), PHP_ROUND_HALF_DOWN, PHP_ROUND_HALF_EVEN, PHP_ROUND_HALF_ODD
@return string
Round the value to the required precision and using the required mode