Re: NSTextField selectText behaviour (Currency Converter Tut)
Re: NSTextField selectText behaviour (Currency Converter Tut)
- Subject: Re: NSTextField selectText behaviour (Currency Converter Tut)
- From: Erika <email@hidden>
- Date: Fri, 17 Jan 2003 21:38:20 +1100
>
>At 1:51 AM -0500 1/17/03, Scott Anguish wrote:
>
>
>
>I'm stuck on the issue of rounding off the result to two decimal points, though. There are methods in NSDecimalNumber which will do this, but I haven't worked out how to get them to function properly yet.
>
>
No need to round.. instead drop an NSFormatter on the field in Interface Builder and set it to show only two decimal places.
Thank you, Scott. I really didn't think it ought to be as hard as I was finding it.
--
_____________________________________________________________________
| Please do not be surprised or distressed if I fail to answer |
| your post for some time. I am a chronic invalid, and am often |
| unable to use my computer for long periods (days, weeks or months). |
| Be assured that I will, however, reply as soon as I can if I can |
|_____________________________________________________________________|
best,
Erica Mackenzie
Megalong Valley,
N.S.W.
AUSTRALIA
________________________________________________________________
| Windows) 98 (n) - 32-bit extensions and graphical shell |
| for a 16-bit patch to an 8-bit operating system |
| originally coded for a 4-bit microprocessor |
| written by a 2-bit company |
| that can't stand 1 bit of competition. |
|________________________________________________________________|
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.