decentralized business model . our business segments are focused on distinct product categories and are responsible for their own performance . this structure enables each of our segments to independently best position itself within each category in which it competes and reinforces strong accountability for operational and financial performance . each of our segments focuses on its unique set of consumers , customers , competitors and suppliers , while also sharing best practices . strong capital structure . we exited 2017 with a strong balance sheet . in 2017 , we repurchased 3.4 million of our shares . as of december 31 , 2017 , we had $ 323.0 million of cash and cash equivalents and total debt was $ 1507.6 million , resulting in a net debt position of $ 1184.6 million . in addition , we had $ 635.0 million available under our credit facility as of december 31 , 2017 . business segments we have four business segments : cabinets , plumbing , doors and security . the following table shows net sales for each of these segments and key brands within each segment : segment net sales ( in millions ) percentage of total 2017 net sales key brands cabinets $ 2467.1 47% ( 47 % ) aristokraft , diamond , mid-continent , kitchen craft , schrock , homecrest , omega , thomasville ( a ) , kemper , starmark , ultracraft plumbing 1720.8 33% ( 33 % ) moen , rohl , riobel , perrin & rowe , victoria + albert , shaws , waste king .

========================================
• segment, 2017net sales ( in millions ), percentage of total 2017 net sales, key brands
• cabinets, $ 2467.1, 47% ( 47 % ), aristokraft diamondmid-continentkitchen craft schrock homecrest omega thomasville ( a ) kemper starmark ultracraft
• plumbing, 1720.8, 33% ( 33 % ), moen rohl riobel perrin & rowe victoria + albert shaws waste king
• doors, 502.9, 9% ( 9 % ), therma-trufypon
• security, 592.5, 11% ( 11 % ), master lock american lock sentrysafe
• total, $ 5283.3, 100% ( 100 % ), 
========================================

( a ) thomasville is a registered trademark of hhg global designs llc . our segments compete on the basis of innovation , fashion , quality , price , service and responsiveness to distributor , retailer and installer needs , as well as end-user consumer preferences . our markets are very competitive . approximately 15% ( 15 % ) of 2017 net sales were to international markets , and sales to two of the company 2019s customers , the home depot , inc . ( 201cthe home depot 201d ) and lowe 2019s companies , inc . ( 201clowe 2019s 201d ) , each accounted for more than 10% ( 10 % ) of the company 2019s net sales in 2017 . sales to all u.s . home centers in the aggregate were approximately 27% ( 27 % ) of net sales in 2017 . cabinets . our cabinets segment manufactures custom , semi-custom and stock cabinetry , as well as vanities , for the kitchen , bath and other parts of the home through a regional supply chain footprint to deliver high quality and service to our customers . this segment sells a portfolio of brands that enables our customers to differentiate themselves against competitors . this portfolio includes brand names such as aristokraft , diamond , mid-continent , kitchen craft , schrock , homecrest , omega , thomasville , kemper , starmark and ultracraft . substantially all of this segment 2019s sales are in north america . this segment sells directly to kitchen and bath dealers , home centers , wholesalers and large builders . in aggregate , sales to the home depot and lowe 2019s comprised approximately 34% ( 34 % ) of net sales of the cabinets segment in 2017 . this segment 2019s competitors include masco , american woodmark and rsi ( owned by american woodmark ) , as well as a large number of regional and local suppliers . plumbing . our plumbing segment manufactures or assembles and sells faucets , accessories , kitchen sinks and waste disposals in north america and china , predominantly under the moen , rohl , riobel , perrin & rowe , victoria + albert , shaws and waste king brands . although this segment sells products principally in the u.s. , canada and china , this segment also sells in mexico , southeast asia , europe and .

Question: in 2017 what was the ratio of the cabinets sales to the doors
Program: divide(2467.1, 502.9)
Answer: 4.90575