XML 59 R29.htm IDEA: XBRL DOCUMENT v3.20.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, 2020
Apr. 30, 2019
Apr. 30, 2020
Apr. 30, 2019
Accounting Policies [Abstract]        
Net income $ 1,084 $ 1,378 $ 1,381 $ 1,601
Shares used in basic per share amounts:        
Weighted average common shares outstanding (in shares) 261 260 261 260
Shares used in diluted per share amounts:        
Weighted average common shares outstanding (in shares) 261 260 261 260
Dilutive common equivalent shares from stock options and restricted stock awards (in shares) 3 4 3 4
Dilutive weighted average common shares outstanding (in shares) 264 264 264 264
Basic and diluted net income per share:        
Basic net income per share (in dollars per share) $ 4.15 $ 5.30 $ 5.29 $ 6.16
Diluted net income per share (in dollars per share) $ 4.11 $ 5.22 $ 5.24 $ 6.06
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 1 0 1