minor fix for output format

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34853 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2012-03-01 09:30:13 +00:00
parent bb610b0e30
commit 872d1e3ff7
2 changed files with 6 additions and 1 deletions

View file

@ -829,7 +829,7 @@ writeObject(id obj, NSMutableString *output, NSInteger tabs)
}
else
{
[output appendFormat: @"%f", [obj doubleValue]];
[output appendFormat: @"%g", [obj doubleValue]];
}
}
else if ([obj isKindOfClass: NSNullClass])