Can you help me anybody ?
I have a MySQL db and table thers column have a decimal (positive and negative) and i need this column ashort.
For example i have in column this values:
-20.00
-19.50
-19.00
-18.50
..
-0.7
0.0
+0.5
+1.0 ..etc
but with query
ORDER BY column ASC
makes shortest words.
with
ORDER BY CAST( column AS DECIMAL ) ASC
makes :
-1,25
+0,75
0,00
-0,50
-0,75
+0,50
any idea ? .. many thanks