XML 49 R32.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
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, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Accounting Policies [Abstract]        
Net income $ 2,389 $ 2,087 $ 2,983 $ 2,295
Shares used in basic per share amounts:        
Weighted-average common shares outstanding (in shares) 280 281 280 281
Shares used in diluted per share amounts:        
Weighted-average common shares outstanding (in shares) 280 281 280 281
Dilutive common equivalent shares from stock options and restricted stock awards (in shares) 4 2 4 2
Dilutive weighted-average common shares outstanding (in shares) 284 283 284 283
Basic and diluted net income per share:        
Basic net income per share (in dollars per share) $ 8.53 $ 7.44 $ 10.65 $ 8.17
Diluted net income per share (in dollars per share) $ 8.42 $ 7.38 $ 10.51 $ 8.11
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) 0 2 0 2