XML 47 R31.htm IDEA: XBRL DOCUMENT v3.22.1
Description of Business and Summary of Significant Accounting Policies - Basic and Diluted Net Income Per Share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2022
Apr. 30, 2021
Accounting Policies [Abstract]        
Net income $ 1,794 $ 1,464 $ 2,122 $ 1,682
Shares used in basic per share amounts:        
Weighted average common shares outstanding (in shares) 282 273 279 269
Shares used in diluted per share amounts:        
Weighted average common shares outstanding (in shares) 282 273 279 269
Dilutive common equivalent shares from stock options and restricted stock awards (in shares) 4 3 5 2
Dilutive weighted average common shares outstanding (in shares) 286 276 284 271
Basic and diluted net income per share:        
Basic net income per share (in dollars per share) $ 6.35 $ 5.36 $ 7.60 $ 6.26
Diluted net income per share (in dollars per share) $ 6.28 $ 5.30 $ 7.48 $ 6.20
Shares excluded from diluted net income per share:        
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) 2 0 1 0