Re: number formatting
Re: number formatting
- Subject: Re: number formatting
- From: Christopher Anand <email@hidden>
- Date: Sat, 23 Feb 2002 16:56:45 -0500
On Saturday, February 23, 2002, at 04:45 PM, Lance Bland wrote:
Ben,
On Saturday, February 23, 2002, at 04:23 PM, email@hidden wrote:
The value is represented in the machine as 0.34999...
To force it to show up as 0.35 in a text field the text field would
have
to force the precision to 2 places. Then you'd be still complaining
about
the cases where you wanted more or less precision.
The funny thing is that IB seems to do rounding in other cases when I
don't want it! Try as I might, I couldn't set up an NSSlider in IB with
minimum value .25, because it insisted on rounding to one decimal place.
Christopher
_______________________________________________
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.