Impossible to detect float

Impossible to detect float

neliamneliam Posts: 1Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Hi,

I have a column with many float inside but they are detected as string and then the sort don't work very well.

for example : 7.5 is bigger than 10.2 when i do a sort.

If i put a 0 in front of 7.5 (07.5) then the sort work fine but i don't want that !

any idea ?

Replies

  • allanallan Posts: 63,386Questions: 1Answers: 10,449 Site admin
    Link to a test case please: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
This discussion has been closed.