I guess there should a better way, but something like this...declare @t table (tonnage decimal(9,2))insert @tselect '-1.00'union all select '1.00'union all select '0.00'
select case when tonnage >= 0 then replace(right('0000000000' + convert(varchar(10), convert(decimal(9,3), tonnage)), 9), '.', '') else replace('-' + right('0000000000' + substring(convert(varchar(10), convert(decimal(9,3), tonnage)),2,10), 9), '.', '') endfrom @t