XML 82 R62.htm IDEA: XBRL DOCUMENT v3.21.2
NET INCOME PER SHARE (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2019
Earnings Per Share [Abstract]      
Net income $ 894 $ 627 $ 621
Basic weighted-average shares 185 187 188
Potential common shares — stock options and other employee stock plans 2 2 3
Diluted weighted-average shares 187 189 191
Net income per share - basic $ 4.84 $ 3.35 $ 3.31
Net income per share - diluted $ 4.78 $ 3.31 $ 3.25