Arithmetic/Rational: Difference between revisions

m
(→‎{{header|Objective-C}}: oops that didn't do anything either)
Line 773:
{
[self simplify: [self autoSimplify]];
return [NSString stringWithFormat: @"%@%ud/%ud", [self isNegative] ? @"-" :
( [self withSign] ? @"+" : @"" ),
abs([self numerator]), [self denominator]];
}
 
Anonymous user