Have an issue with decimal places. Have a query with that looks like this:
Select [MasterOrder] as Orderno, Costperlb
from COSTDATA
where MasterOrder > 0
Union Select [Order2] as Orderno, Costperlb
from COSTDATA
where Order2 > 0
Union Select [Order3] as Orderno, Costperlb
from COSTDATA
where Order3 >0
UNION Select [Order4] as Orderno, Costperlb
from COSTDATA
where Order4 >0
UNION Select [Order5] as Orderno, Costperlb
from COSTDATA
where Order5 >0
UNION Select [Order6] as Orderno, Costperlb
from COSTDATA
where Order6 >0;
Unfortunately, all the results for Orderno are calcuations that bring back a varying amount of decimal places. Want to limit to 3 decimal places.
Select [MasterOrder] as Orderno, Costperlb
from COSTDATA
where MasterOrder > 0
Union Select [Order2] as Orderno, Costperlb
from COSTDATA
where Order2 > 0
Union Select [Order3] as Orderno, Costperlb
from COSTDATA
where Order3 >0
UNION Select [Order4] as Orderno, Costperlb
from COSTDATA
where Order4 >0
UNION Select [Order5] as Orderno, Costperlb
from COSTDATA
where Order5 >0
UNION Select [Order6] as Orderno, Costperlb
from COSTDATA
where Order6 >0;
Unfortunately, all the results for Orderno are calcuations that bring back a varying amount of decimal places. Want to limit to 3 decimal places.