Can you explain the semantics that you want to have? Do you just want to show 2 trailing digits? If so, convert the number to a string and concatenate it with '.00'. Or maybe you want to convert your number to a DECIMAL value with a scale of 2? Or maybe you just want to do this: CASE WHEN number = 0 THEN '0.00' END.