I currently have a MySQL database with a table that has a field that is typed as a decimal.
Currently there are values that range from *.1 through *.9 but we now need to be able to handle the following:
I need to be able to add *.10 to this field and sort it accordingly.
In this use-case .10 DOES NOT equal .1!
I need to be able to use this value in Rails and output it appropriately.
Is there an easy way around this that I am just missing or should I just split it up as follows:
Split the one field into two:
2.1 -> 2 & 1
2.10 -> 2 & 10
Thanks in advance!