XML 23 R11.htm IDEA: XBRL DOCUMENT v3.7.0.1
SHORT-TERM AND LONG-TERM INVESTMENTS
3 Months Ended
Jan. 31, 2017
Investments, Debt and Equity Securities [Abstract]  
SHORT-TERM AND LONG-TERM INVESTMENTS
SHORT-TERM AND LONG-TERM INVESTMENTS

As of the dates indicated, investments are comprised of the following (in thousands):

 
January 31, 2017
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross
Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
230,090

 
$
60

 
(46
)
 
$
230,104

Included in long-term investments
110,035

 
5

 
(106
)
 
109,934

 
$
340,125

 
$
65

 
$
(152
)
 
$
340,038

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
19,952

 

 

 
$
19,952

 
$
19,952

 
$

 
$

 
$
19,952


 
October 31, 2016
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
260,125

 
$
140

 
$
(6
)
 
$
260,259

Included in long-term investments
90,145

 
57

 
(30
)
 
90,172

 
$
350,270

 
$
197

 
$
(36
)
 
$
350,431

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
14,989

 

 

 
$
14,989

 
$
14,989

 
$

 
$

 
$
14,989



The following table summarizes the final legal maturities of debt investments at January 31, 2017 (in thousands):

 
Amortized
Cost
 
Estimated
Fair Value
Less than one year
$
250,042

 
$
250,056

Due in 1-2 years
110,035

 
109,934

 
$
360,077

 
$
359,990