I have this select: select isnull(Pricea,0)-isnull(Priceb,0) as Differences
The format of the columns is decimal(12,4).
My question is: I could somehow to return decimals only if they are bigger than 0?
It seems to be confusing if the result will be for e.g 4.0000 so I would want to display the decimals only if they are bigger than 0. Is this possible?
I have this select: select isnull(Pricea,0)-isnull(Priceb,0) as Differences The format of the columns is
Share
When ceiling(Num) = floor(Num), the number is a integer