XML 25 R14.htm IDEA: XBRL DOCUMENT v3.10.0.1
Short-Term and Long-Term Investments
9 Months Ended
Jul. 31, 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):

 
July 31, 2018
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross
Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
199,415

 
$

 
(418
)
 
$
198,997

Included in long-term investments
29,538

 

 
(73
)
 
29,465

 
$
228,953

 
$

 
$
(491
)
 
$
228,462

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

 
2

 

 
$
29,943

 
$
29,941

 
$
2

 
$

 
$
29,943


 
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 July 31, 2018 (in thousands):

 
Amortized
Cost
 
Estimated
Fair Value
Less than one year
$
229,356

 
$
228,940

Due in 1-2 years
29,538

 
29,465

 
$
258,894

 
$
258,405