XML 32 R13.htm IDEA: XBRL DOCUMENT v3.10.0.1
Short-Term and Long-Term Investments
12 Months Ended
Oct. 31, 2018
Investments, Debt and Equity Securities [Abstract]  
SHORT-TERM AND LONG-TERM INVESTMENTS
SHORT-TERM AND LONG-TERM INVESTMENTS
As of October 31, 2018, investments are comprised of the following (in thousands):

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

 
$

 
$
(347
)
 
$
139,018

Included in long-term investments
59,029

 

 
(59
)
 
58,970

 
$
198,394

 
$

 
$
(406
)
 
$
197,988

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
9,963

 
$

 
$

 
$
9,963

 
$
9,963

 
$

 
$

 
$
9,963


As of October 31, 2017, investments are comprised of the following (in thousands):
 
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 legal maturities of debt investments at October 31, 2018:

 
October 31, 2018
 
Amortized Cost
 
Estimated Fair
Value
Less than one year
$
149,328

 
$
148,981

Due in 1-2 years
59,029

 
58,970

 
$
208,357

 
$
207,951