mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
bb610b0e30
commit
872d1e3ff7
2 changed files with 6 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue