XML 59 R40.htm IDEA: XBRL DOCUMENT v3.23.2
Description of Business and Summary of Significant Accounting Policies - Schedule of shares used in the computation of basic and diluted net income per share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Numerator:      
Net income $ 2,384 $ 2,066 $ 2,062
Shares used in basic per share amounts:      
Weighted-average common shares outstanding (in shares) 281 280 270
Shares used in diluted per share amounts:      
Weighted-average common shares outstanding (in shares) 281 280 270
Dilutive common equivalent shares from stock options and restricted stock awards (in shares) 2 4 3
Dilutive weighted-average common shares outstanding (in shares) 283 284 273
Basic and diluted net income per share:      
Basic net income per share (in dollars per share) $ 8.49 $ 7.38 $ 7.65
Diluted net income per share (in dollars per share) $ 8.42 $ 7.28 $ 7.56
Weighted-average stock options and restricted stock units that have been excluded from dilutive common equivalent shares outstanding due to their anti-dilutive effect (in shares) 1 1 0