XML 38 R25.htm IDEA: XBRL DOCUMENT v3.23.2
EARNINGS PER SHARE (Tables)
12 Months Ended
Jun. 30, 2023
Earnings Per Share [Abstract]  
Schedule of Computation of Basic and Diluted Earnings (loss) 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 
Schedule of Potential Shares of Common Stock Excluded from Diluted Per Share Calculation 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