Sorting formatted numbers

Sorting formatted numbers

KyvuKyvu Posts: 11Questions: 0Answers: 0
edited May 2012 in General
Hello,

Is it possible to sort numbers formatted on this form "1 456 789" or "1 785,564"?

I use DataTable to display big amounts so I put thousand space separators for a better visibility... but standard sorting option do not work on this case.

Could you please help?

Thanks.

Regards.

Replies

  • allanallan Posts: 61,451Questions: 1Answers: 10,055 Site admin
    http://datatables.net/plug-ins/sorting#formatted_numbers :-)

    Allan
  • KyvuKyvu Posts: 11Questions: 0Answers: 0
    Thank you, Allan!
This discussion has been closed.