XML 54 R44.htm IDEA: XBRL DOCUMENT v3.22.2.2
NET INCOME PER SHARE NET INCOME PER SHARE (Computation) (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Numerator:        
Net income $ 338 $ 254 $ 825 $ 612
Denominator:        
Basic weighted-average shares 179 184 181 185
Potential common shares— stock options and other employee stock plans 2 2 1 2
Diluted weighted-average shares 181 186 182 187
Net income per share - basic $ 1.89 $ 1.38 $ 4.56 $ 3.31
Net income per share - diluted $ 1.87 $ 1.36 $ 4.52 $ 3.27