Anonymous user
Arithmetic/Rational: Difference between revisions
→{{header|Objective-C}}: oops that didn't do anything either
(→{{header|Objective-C}}: fixed mistake; seems to work now) |
(→{{header|Objective-C}}: oops that didn't do anything either) |
||
Line 895:
-(void)setDenominator: (int)num
{
if ( num < 0 )
denominator = abs(num);
}
|