XML 24 R13.htm IDEA: XBRL DOCUMENT v3.8.0.1
Short-Term and Long-Term Investments
6 Months Ended
Apr. 30, 2018
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):

 
April 30, 2018
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross
Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
239,291

 
$

 
(601
)
 
$
238,690

Included in long-term investments
59,066

 

 
(171
)
 
58,895

 
$
298,357

 
$

 
$
(772
)
 
$
297,585

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
29,892

 
2

 

 
$
29,894

 
$
29,892

 
$
2

 
$

 
$
29,894


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

 
$

 
$
(305
)
 
$
249,193

Included in long-term investments
49,910

 

 
(127
)
 
49,783

 
$
299,408

 
$

 
$
(432
)
 
$
298,976

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
29,939

 
1

 

 
$
29,940

 
$
29,939

 
$
1

 
$

 
$
29,940



The following table summarizes the final legal maturities of debt investments at April 30, 2018 (in thousands):

 
Amortized
Cost
 
Estimated
Fair Value
Less than one year
$
269,183

 
$
268,584

Due in 1-2 years
59,066

 
58,895

 
$
328,249

 
$
327,479