XML 77 R62.htm IDEA: XBRL DOCUMENT v3.10.0.1
DEBT - Additional Information (Details)
$ / shares in Units, shares in Millions
1 Months Ended 12 Months Ended
Jan. 31, 2018
USD ($)
day
Sep. 30, 2016
USD ($)
Jul. 31, 2018
USD ($)
$ / shares
shares
Jul. 31, 2017
USD ($)
Jul. 31, 2016
USD ($)
Apr. 30, 2016
USD ($)
Debt Instrument [Line Items]            
Gain (Loss) on Extinguishment of Debt   $ (3,300,000) $ 0 $ (3,320,000) $ 0  
Write off of Deferred Debt Issuance Cost   1,700,000        
Gain (Loss) on Extinguishment of Debt, before Write off of Debt Issuance Cost   $ (1,600,000)        
Payments for convertible note hedges     $ 143,175,000 $ 0 $ 0  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | shares     11.8      
Exercise Price per Share (in dollars per share) | $ / shares     $ 73.46      
Proceeds from Issuance of Warrants     $ 88,000,000      
Net Transaction Cost of the Note Hedges and Warrants     $ 55,200,000      
Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities | shares     3.9      
Share Price Threshold for Dilutive Effect of Convertible Debt | $ / shares     $ 73.46      
Incremental Common Shares Attributable to Dilutive Effect of Call Options and Warrants, $10 Increase in Share Price | shares     4.9      
Incremental Common Shares Attributable to Dilutive Effect of Call Options and Warrants | shares     1.4      
Share Price Threshold for Dilutive Effect of Warrants | $ / shares     $ 83.46      
Senior Notes [Member] | Senior Notes Due April 15, 2019 [Member]            
Debt Instrument [Line Items]            
Debt Instrument, Face Amount           $ 75,000,000
Convertible Debt            
Debt Instrument [Line Items]            
Debt Instrument, Face Amount $ 575,000,000          
Debt Instrument, Interest Rate, Stated Percentage 0.00%          
Convertible Debt     $ 75,000,000      
Debt Instrument, Convertible, Conversion Ratio 20.4705          
Debt Instrument, Convertible, Conversion Price | $ / shares     $ 48.85      
Payments for convertible note hedges $ 143,175,000          
Debt Instrument, Convertible, Threshold Trading Days | day 20          
Debt Instrument, Convertible, Threshold Consecutive Trading Days | day 30          
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger 130.00%          
Debt Instrument, Redemption Price, Percentage 100.00%          
Debt Instrument, Convertible, Carrying Amount of Liability Component     $ 423,400,000      
Debt Instrument, Convertible, Carrying Amount of Equity Component     151,600,000      
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net     11,500,000      
Convertible Debt Issuance Cost $ 10,781,000   10,800,000      
Debt Issuance Cost, Gross, Noncurrent 707,000   700,000      
Debt Instrument, Convertible, Transaction Costs Attributable to Liability Component     8,500,000      
Debt Instrument, Convertible, Transaction Costs Attributable to Equity Component     $ 3,000,000      
Remaining Term of Convertible Debt     53 months      
Proceeds from Issuance of Warrants $ 87,975,000          
Common Class A            
Debt Instrument [Line Items]            
Fair value of common stock (in dollars per share) | $ / shares     $ 48.89      
Common Class A | Convertible Debt            
Debt Instrument [Line Items]            
Debt Instrument, Convertible, Threshold Percentage of Stock Price Trigger 98.00%