An Octal number into a Textfield
An Octal number into a Textfield
- Subject: An Octal number into a Textfield
- From: Andrew Knott <email@hidden>
- Date: Tue, 13 Jun 2006 13:55:33 +0100
Hi everyone,
Just a quick one... I'm trying to get an NSTextField to display an
octal number
If I have :
fileMode = 0644;
and set a textField with
[octalField setStringValue: [[NSNumber
numberWithUnsignedLong:fileMode] stringValue]];
I get only the decimal version of the number? How would I get an
octal representation? With a NSNumberFormatter perhaps? I don't seem
to be able to find any hints...
thanks for your help.
Andrew
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden