Hi,
I have a couple of fields in my table that are defined as DECIMAL(18,2). I am storing width/height size like 6.00 or 8.75. I need to keep these values as decimal, however, if the precision is .00 (e.g., 6.00), I'd like to truncate that in my SQL.
How can I do that in my SQL statement when I'm retrieving these values.
Thanks in advance for any help.
I have a couple of fields in my table that are defined as DECIMAL(18,2). I am storing width/height size like 6.00 or 8.75. I need to keep these values as decimal, however, if the precision is .00 (e.g., 6.00), I'd like to truncate that in my SQL.
How can I do that in my SQL statement when I'm retrieving these values.
Thanks in advance for any help.