XML 19 R8.htm IDEA: XBRL DOCUMENT v3.20.2
Net income (loss) per share
9 Months Ended
Oct. 31, 2020
Earnings Per Share [Abstract]  
Net income (loss) per share Net income (loss) per share
The following table sets forth the computation of basic and diluted net income (loss) per share:
Three months ended October 31,Nine months ended October 31,
(in thousands, except per share data)2020201920202019
Numerator (basic and diluted):
Net income (loss)$1,789 $(21,334)$3,467 $39,854 
Denominator (basic):
Weighted-average common shares outstanding76,701 70,524 73,358 65,727 
Denominator (diluted):
Weighted-average common shares outstanding76,701 70,524 73,358 65,727 
Weighted-average dilutive effect of stock options and restricted stock units1,144 — 1,307 1,423 
Diluted weighted-average common shares outstanding77,845 70,524 74,665 67,150 
Net income (loss) per share:
Basic $0.02 $(0.30)$0.05 $0.61 
Diluted$0.02 $(0.30)$0.05 $0.59 

For the three months ended October 31, 2020 and 2019, approximately 1.0 million and 3.2 million shares, respectively, attributable to stock options and restricted stock units were excluded from the calculation of diluted earnings per share as their inclusion would have been anti-dilutive.
For the nine months ended October 31, 2020 and 2019, approximately 0.6 million and 0.3 million shares, respectively, attributable to stock options and restricted stock units were excluded from the calculation of diluted earnings per share as their inclusion would have been anti-dilutive.