NET INCOME (LOSS) PER SHARE (Details) - USD ($) $ in Millions |
12 Months Ended |
Oct. 31, 2017 |
Oct. 31, 2016 |
Oct. 31, 2015 |
| Numerator: |
|
|
|
| Income from continuing operations |
$ 684
|
$ 462
|
$ 438
|
| Loss from discontinued operations |
0
|
0
|
(37)
|
| Net income |
$ 684
|
$ 462
|
$ 401
|
| Denominator: |
|
|
|
| Basic weighted average shares |
322,000,000
|
326,000,000
|
333,000,000
|
| Potential common shares - stock options and other employeee stock plans |
4,000,000
|
3,000,000
|
2,000,000
|
| Diluted weighted average shares |
326,000,000
|
329,000,000
|
335,000,000
|
| Share-based awards issued |
|
|
|
| Total number of share-based awards issued (in shares) |
3,000,000
|
3,000,000
|
3,000,000
|
| Options with exercise price greater than average market price [Member] |
|
|
|
| Antidilutive securities excluded from EPS computation |
|
|
|
| Antidilutive shares excluded from EPS computation (in shares) |
0
|
842,200
|
1,200,000
|
| Stock Options, LTPP and restricted stock combined exercise price, unamortized fair value, excess tax benefits or shortfalls greater than average market price [Member] |
|
|
|
| Antidilutive securities excluded from EPS computation |
|
|
|
| Antidilutive shares excluded from EPS computation (in shares) |
200
|
229,600
|
368,900
|