XML 93 R12.htm IDEA: XBRL DOCUMENT v3.20.2
Net Income (Loss) per Share
12 Months Ended
Jul. 31, 2020
Earnings Per Share [Abstract]  
Net Income (Loss) per Share Net Income (Loss) per Share
The Company calculates basic earnings per share by dividing the net income (loss) by the weighted average number of shares of common stock outstanding for the period. The diluted earnings per share is computed by giving effect to all potentially dilutive common stock equivalents outstanding for the period using the treasury stock method. For purposes of this calculation, options to purchase common stock, stock awards, and the Convertible Senior Notes are considered to be common stock equivalents.

Since the Company has the intent and ability to settle the principal amount of the Convertible Senior Notes in cash and any excess in shares of the Company’s common stock, the Company uses the treasury stock method for calculating any potential dilutive effect of the conversion spread on diluted net income per share, if applicable. The conversion spread will have a dilutive impact on net income (loss) per share of common stock when the average market price of the Company’s common stock for a given period exceeds the conversion price of $113.75 per share for the Convertible Senior Notes. During the fiscal years ended July 31, 2020, 2019, and 2018, the Company’s weighted average common stock price was below the conversion price of the Convertible Senior Notes.
The following table sets forth the computation of the Company’s basic and diluted net income (loss) per share for the years ended July 31, 2020, 2019 and 2018 (in thousands, except share and per share amounts):
 Fiscal years ended July 31,
 202020192018
Numerator:
Net income (loss)$(27,198)$20,732 $(26,743)
Net income (loss) per share:
Basic$(0.33)$0.25 $(0.34)
Diluted$(0.33)$0.25 $(0.34)
Denominator:
Weighted average shares used in computing net income (loss) per share:
Basic82,855,392 81,447,998 77,709,592 
Weighted average effect of diluted stock options 229,035  
Weighted average effect of diluted stock awards 1,004,181  
Diluted82,855,392 82,681,214 77,709,592 
The following weighted shares outstanding of potential common stock were excluded from the computation of diluted income (loss) per share for the periods presented because including them would have been antidilutive:
 Fiscal years ended July 31,
 202020192018
Stock options161,410  597,476 
Stock awards2,559,214 44,196 3,161,157