management 2019s discussion and analysis action antitrust legal settlement . net income for 2005 and 2004 included an aftertax charge of $ 13 million , or 8 cents a share , and $ 19 million , or 11 cents a share , respectively , to reflect the net increase in the current value of the company 2019s obligation under the ppg settlement arrangement relating to asbestos claims . results of business segments net sales operating income ( millions ) 2005 2004 2005 2004 .

----------------------------------------
( millions ) | net sales 2005 | net sales 2004 | net sales 2005 | 2004
coatings | $ 5566 | $ 5275 | $ 609 | $ 777
glass | 2237 | 2204 | 56 | 169
chemicals | 2398 | 2034 | 451 | 291
----------------------------------------

coatings sales increased $ 291 million or 5% ( 5 % ) in 2005 . sales increased 3% ( 3 % ) due to higher selling prices across all businesses except automotive ; 1% ( 1 % ) due to improved volumes as increases in our aerospace , architectural and original equipment automotive businesses offset volume declines in automotive refinish and industrial coatings ; and 1% ( 1 % ) due to the positive effects of foreign currency translation . operating income decreased $ 168 million in 2005 . the adverse impact of inflation totaled $ 315 million , of which $ 245 million was attributable to higher raw material costs . higher year-over-year selling prices increased operating earnings by $ 169 million . coatings operating earnings were reduced by the $ 132 million charge for the cost of the marvin legal settlement net of insurance recoveries . other factors increasing coatings operating income in 2005 were the increased sales volumes described above , manufacturing efficiencies , formula cost reductions and higher other income . glass sales increased $ 33 million or 1% ( 1 % ) in 2005 . sales increased 1% ( 1 % ) due to improved volumes as increases in our automotive replacement glass , insurance and services and performance glazings ( flat glass ) businesses offset volume declines in our fiber glass and automotive original equipment glass businesses . the positive effects of foreign currency translation were largely offset by lower selling prices primarily in our automotive replacement glass and automotive original equipment businesses . operating income decreased $ 113 million in 2005 . the federal glass class action antitrust legal settlement of $ 61 million , the $ 49 million impact of rising natural gas costs and the absence of the $ 19 million gain in 2004 from the sale/ leaseback of precious metal combined to account for a reduction in operating earnings of $ 129 million . the remaining year-over-year increase in glass operating earnings of $ 16 million resulted primarily from improved manufacturing efficiencies and lower overhead costs exceeding the adverse impact of other inflation . our continuing efforts in 2005 to position the fiber glass business for future growth in profitability were adversely impacted by the rise in fourth quarter natural gas prices , slightly lower year-over-year sales , lower equity earnings due to weaker pricing in the asian electronics market , and the absence of the $ 19 million gain which occurred in 2004 stemming from the sale/ leaseback of precious metals . despite high energy costs , we expect fiber glass earnings to improve in 2006 because of price strengthening in the asian electronics market , which began to occur in the fourth quarter of 2005 , increased cost reduction initiatives and the positive impact resulting from the start up of our new joint venture in china . this joint venture will produce high labor content fiber glass reinforcement products and take advantage of lower labor costs , allowing us to refocus our u.s . production capacity on higher margin direct process products . the 2005 operating earnings of our north american automotive oem glass business declined by $ 30 million compared with 2004 . significant structural changes continue to occur in the north american automotive industry , including the loss of u.s . market share by general motors and ford . this has created a very challenging and competitive environment for all suppliers to the domestic oems , including our business . about half of the decline in earnings resulted from the impact of rising natural gas costs , particularly in the fourth quarter , combined with the traditional adverse impact of year-over-year sales price reductions producing a decline in earnings that exceeded our successful efforts to reduce manufacturing costs . the other half of the 2005 decline was due to lower sales volumes and mix and higher new program launch costs . the challenging competitive environment and high energy prices will continue in 2006 . our business is working in 2006 to improve its performance through increased manufacturing efficiencies , structural cost reduction initiatives , focusing on profitable growth opportunities and improving our sales mix . chemicals sales increased $ 364 million or 18% ( 18 % ) in 2005 . sales increased 21% ( 21 % ) due to higher selling prices , primarily for chlor-alkali products , and 1% ( 1 % ) due to the combination of an acquisition in our optical products business and the positive effects of foreign currency translation . total volumes declined 4% ( 4 % ) as volume increases in optical products were more than offset by volume declines in chlor-alkali and fine chemicals . volume in chlor-alkali products and silicas were adversely impacted in the third and fourth quarters by the hurricanes . operating income increased $ 160 million in 2005 . the primary factor increasing operating income was the record high selling prices in chlor-alkali . factors decreasing operating income were higher inflation , including $ 136 million due to increased energy and ethylene costs ; $ 34 million of direct costs related to the impact of the hurricanes ; $ 27 million due to the asset impairment charge related to our fine chemicals business ; lower sales volumes ; higher manufacturing costs and increased environmental expenses . the increase in chemicals operating earnings occurred primarily through the first eight months of 2005 . the hurricanes hit in september impacting volumes and costs in september through november and contributing to the rise in natural gas prices which lowered fourth quarter chemicals earnings by $ 58 million , almost 57% ( 57 % ) of the full year impact of higher natural gas prices . the damage caused by hurricane rita resulted in the shutdown of our lake charles , la chemical plant for a total of eight days in september and an additional five 18 2005 ppg annual report and form 10-k .

Question: what was the operating margin for the coatings segment in 2004?
Program: divide(777, 5275)
Answer: 0.1473