$ 0 0 Try using CAST(CAST(<sum> AS DECIMAL(21,4) FORMAT '----------------9.9999') AS VARCHAR(21)) \\ Dibya