RichardTisdall
Technical User
I am trying to compare product prices in two separate tables. The price in one table is data type real, 4 and in the other is smallmoney ,4. My prices are displayed like this.
(Real) (Smallmoney)
PriceSupp CPDPrice
930300.0 93.0300
Can anyone suggest how I can do some sort of conversion to be able to do the comparison.
I thought I could convert both to decimal or numeric bur this does not work. If I try to convert real to small money I get an overflow and if I convert small money to real the value changes to 93.0299. I suspect this causes further issues.
Any help greatly appreciated.
(Real) (Smallmoney)
PriceSupp CPDPrice
930300.0 93.0300
Can anyone suggest how I can do some sort of conversion to be able to do the comparison.
I thought I could convert both to decimal or numeric bur this does not work. If I try to convert real to small money I get an overflow and if I convert small money to real the value changes to 93.0299. I suspect this causes further issues.
Any help greatly appreciated.