XML 70 R40.htm IDEA: XBRL DOCUMENT v3.22.2.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, 2022
Jul. 31, 2021
Jul. 31, 2020
Numerator:      
Net income $ 2,066 $ 2,062 $ 1,826
Shares used in basic per share amounts:      
Weighted average common shares outstanding (in shares) 280 270 261
Shares used in diluted per share amounts:      
Weighted average common shares outstanding (in shares) 280 270 261
Dilutive common equivalent shares from stock options and restricted stock awards (in shares) 4 3 3
Dilutive weighted average common shares outstanding (in shares) 284 273 264
Basic and diluted net income per share:      
Basic net income per share (in dollars per share) $ 7.38 $ 7.65 $ 6.99
Diluted net income per share (in dollars per share) $ 7.28 $ 7.56 $ 6.92
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 0 0