XML 43 R23.htm IDEA: XBRL DOCUMENT v3.21.2
EARNINGS PER SHARE
12 Months Ended
Jul. 31, 2021
Earnings Per Share [Abstract]  
EARNINGS PER SHARE
NOTE 15—EARNINGS PER SHARE

The following is a reconciliation of the basic and diluted number of shares used in computing earnings per share:
(in millions, except per share data)202120202019
Basic weighted average shares outstanding56.1 53.8 51.2 
Net effect of dilutive stock awards based upon the treasury stock method3.9 — — 
Diluted weighted average shares outstanding60.0 53.8 51.2 
Basic earnings (loss) per share:
Continuing operations$2.55 $(4.76)$(5.51)
Discontinued operations$0.10 $(0.34)$(0.05)
Basic earnings (loss) per share$2.65 $(5.10)$(5.56)
Diluted earnings (loss) per share:
Continuing operations$2.38 $(4.76)$(5.51)
Discontinued operations$0.09 $(0.34)$(0.05)
Diluted earnings (loss) income per share$2.48 $(5.10)$(5.56)
Anti-dilutive stock-based awards excluded from the calculation of diluted earnings per share0.9 3.6 3.4