Is there a way to store numbers in a db so that 7.1 is less than 7.10, ie keep the 2 points?
Currently the numbers are stored as floats – do I need to change to small money, decimal or something?
Any help hints appreciated.
Currently the .Net object uses a Double and sql server column is a float.
Most likely you’ll have to find a different way to store and compare the two numbers since 7.1 and 7.10 are equal when just talking about numbers. You might have to go with a varchar field then create a function that compares the two values.
I would probably have two fields, major and minor and then sort by the major number first then the minor.