[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #19010] [NSNumber stringValue] conformity for boolean values
From: |
Wolfgang Sourdeau |
Subject: |
[bug #19010] [NSNumber stringValue] conformity for boolean values |
Date: |
Fri, 09 Feb 2007 16:07:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2) |
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 #19010] [NSNumber stringValue] conformity for boolean values,
Wolfgang Sourdeau <=