views:

7

answers:

0

Hi there,

I've just started using NSFetchRequests to handle all of my table/database connections, and it was going fine until I tried to implement a table that had sections in it...

The problem is that one of my tables is sectioned based on a floating point value which can take the value of: 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0

Currently I can only get the table sections to be based on the first digit of these values, so instead of getting sections for each of those values, I only get one for '0', one for '1', and so forth. It combines the data for '0.0' and '0.5' into the '0' section.

Is there any way to make sure that all of my sections are generated correctly?

If you need further information about how I am doing things, I'll post some code, but I'm not sure what code would be helpful at this stage...