XML 32 R21.htm IDEA: XBRL DOCUMENT v3.21.2
Basic and Diluted Net Income (Loss) per Share
9 Months Ended
Jul. 31, 2021
Earnings Per Share [Abstract]  
Basic and Diluted Net Income (Loss) per Share Basic and Diluted Net Income (Loss) per Share
Basic net income (loss) per common share is calculated using the weighted-average number of common shares outstanding during the period without consideration of the dilutive effect of conversion of preferred stock. Diluted net income (loss) per common share is calculated using the weighted-average number of common shares outstanding during the period plus the dilutive effect of conversion of unvested, restricted stock and preferred stock. The computations for basic and diluted net income (loss) per common share are as follows (in thousands, except per share amounts):
 Three Months Ended
July 31,
Nine Months Ended
July 31,
 2021202020212020
Basic net income (loss) per common share:  
Net income (loss) applicable to common stock$3,580 $2,184 $1,054 $(9,377)
Effect of unvested, restricted stock(15)(17)(50)(50)
Numerator: Net income (loss) for basic EPS3,565 2,167 1,004 (9,427)
Denominator: Weighted average common shares-basic17,461 17,623 17,439 17,607 
Basic net income (loss) per common share$0.20 $0.12 $0.06 $(0.54)
Diluted net income (loss) per common share:  
Numerator: Net income (loss) for diluted EPS$3,705 $2,309 $1,004 $(9,427)
Weighted average common shares–basic17,461 17,623 17,439 17,607 
Effect of dilutive unvested, restricted stock and preferred stock782 874 — — 
Denominator: Weighted average common shares–diluted18,243 18,497 17,439 17,607 
Diluted net income (loss) per common share$0.20 $0.12 $0.06 $(0.54)

Diluted earnings (losses) per common share are computed using the more dilutive method of either the two-class method or the treasury stock method. Unvested stock-based compensation awards that contain non-forfeitable rights to dividends as participating shares are included in computing earnings per share. The Company’s unvested, restricted stock awards qualify as participating shares. The Company excluded 147,000 and 225,000, unvested, restricted shares, as calculated under the treasury stock method, from its computation of diluted earnings (losses) per share for the three months ended July 31, 2021 and 2020, respectively, and 146,000 and 187,000 for the nine months ended July 31, 2021 and 2020, respectively.