src/HumNum.cpp
HumNum HumNum::getAbs(void) const {
	HumNum rat(top, bot);
	if (isNegative()) {
		rat.setValue(-top, bot);
	}
	return rat;
}
//////////////////////////////
//
// HumNum::getAbs -- returns the absolute value of the rational number.
//
:getAbs -- returns the absolute value of the rational number.
: getAbs -- returns the absolute value of the rational number .
HumNum HumNum::getAbs(void) const {
	HumNum rat(top, bot);
	if (isNegative()) {
		rat.setValue(-top, bot);
	}
	return rat;
}
HumNum HumNum :: getAbs ( void ) const { HumNum rat ( top , bot ) ; if ( isNegative ( ) ) { rat . setValue ( - top , bot ) ; } return rat ; }
HumNum::getAbs -- returns the absolute value of the rational number.
HumNum :: getAbs -- returns the absolute value of the rational number .