URL:
<http://savannah.gnu.org/bugs/?19010>
Summary: [NSNumber stringValue] conformity for boolean
values
Project: GNUstep
Submitted by: wolfgang
Submitted on: vendredi 09.02.2007 à 11:07
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
When an NSNumber instance is created with "numberWithBool:", invoking
stringValue on it returns either "YES" or "NO", while on OSX and
libFoundation, the return value will be "1" or "0".
Even though it does not seem to be specified in the Cocoa Documentation, it
would be better to align gnustep-base to this behaviour.
Wolfgang
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?19010>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep