• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
sorting on floats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sorting on floats


  • Subject: sorting on floats
  • From: John Spicer <email@hidden>
  • Date: Tue, 7 Dec 2004 17:47:21 -0600

I've got a table and one of the columns is a money value (float, with $$formatter).

When I click on the column header, it does not sort correctly. It seems to sort on the length (or first digit) instead of the whole value.

I have set the sort descriptor in the nib to compare:

I have also tried caseinsensitivecompare and localizecompare without success.

Does anyone know how this is done?

_______________________________________________
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


  • Follow-Ups:
    • Re: sorting on floats
      • From: Sherm Pendley <email@hidden>
    • Re: sorting on floats
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Why isn't sizeToFit being called?
  • Next by Date: delay function
  • Previous by thread: Re: Why isn't sizeToFit being called?
  • Next by thread: Re: sorting on floats
  • Index(es):
    • Date
    • Thread