• Daniel Bowlin (2/19/2013)


    How about

    1.2 - FLOOR(1.2)

    Floor returns the largest integer that is less than or equal to the numeric expression

    Not true for negatives. Try this:

    select -11.2 - floor(-11.2)

    But stick to positive numbers, or use ABS() too and it should work.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.