Why is the query below still giving me .0000 in my result?
SELECT A.MerchantLocationID, ML.MerchLocName, ML.MerchLocContact, ML.MerchLocPhoneNumber, A.AccountNumber, A.CashPurse1 as CurrentBalance
FROM Transactions T
JOIN dbo.MerchantLocations ML on T.MerchantLocationID = ML.MerchantLocationID
JOIN Accounts A ON T.AccountNumber=A.AccountNumber
JOIN (SELECT AccountNumber, MAX(TransID) as LastTransID
FROM Transactions
GROUP BY AccountNumber) X ON X.LastTransID=T.TransID
JOIN TransactionType Y ON T.TransType = Y.TransactionType
WHERE CONVERT(varchar, A.CashPurse1) <> ('.0000')