XML 25 R12.htm IDEA: XBRL DOCUMENT v3.23.2
EARNINGS PER SHARE
12 Months Ended
Jun. 30, 2023
Earnings Per Share [Abstract]  
EARNINGS PER SHARE EARNINGS PER SHARE
The following table sets forth the computation of basic and diluted earnings per share for the periods indicated (in thousands, except per share data):
 Year ended June 30,
 202320222021
Numerator:
Net income$407,641 $378,657 $616,584 
Denominator:
Weighted-average shares used in computing basic earnings per share60,435 61,689 62,991 
Add—dilutive potential common shares:
Stock options— 16 
Restricted stock units16 27 45 
Weighted-average shares used in computing diluted earnings per share60,451 61,723 63,052 
Net income per share of common stock:
Basic$6.75 $6.14 $9.79 
Diluted$6.74 $6.13 $9.78 

The Company excludes potentially dilutive securities from its diluted earnings per share calculation when their effect would be anti-dilutive to earnings per share amounts. The following table summarizes the total potential shares of common stock that were excluded from the diluted per share calculation, because to include them would have been anti-dilutive for the period (in thousands):

 Year ended June 30,
 202320222021
Restricted stock units