Basic and diluted earnings per share for the three and six months ended April 30, 2025 and 2024 were calculated as follows (in thousands, except per share data): | | | | | | | | | | | | | | | | | | | Net (Loss) Income | | Weighted-Average Shares | | Per Share | Three Months Ended April 30, 2025 | | | | | | Basic earnings per common share | $ | 20,515 | | | 46,483 | | | $ | 0.44 | | Effect of dilutive securities: | | | | | | Stock options | — | | | — | | | — | | Restricted stock awards | — | | | 60 | | | — | | | | | | | | Performance restricted stock units | — | | | 20 | | | — | | Diluted earnings per common share | $ | 20,515 | | | 46,563 | | | $ | 0.44 | | Three Months Ended April 30, 2024 | | | | | | Basic earnings per common share | $ | 15,377 | | | 32,870 | | | $ | 0.47 | | Effect of dilutive securities: | | | | | | Stock options | — | | | 37 | | | — | | Restricted stock awards | — | | | 130 | | | — | | | | | | | | Performance restricted stock units | — | | | 66 | | | — | | Diluted earnings per common share | $ | 15,377 | | | 33,103 | | | $ | 0.46 | | Six Months Ended April 30, 2025 | | | | | | Basic and diluted loss per common share | $ | 5,630 | | | 46,753 | | | $ | 0.12 | | Effect of dilutive securities: | | | | | | Stock options | — | | | 11 | | | — | | Restricted stock awards | — | | | 84 | | | — | | | | | | | | Performance restricted stock units | — | | | 20 | | | — | | Diluted earnings per common share | $ | 5,630 | | | 46,868 | | | $ | 0.12 | | Six Months Ended April 30, 2024 | | | | | | Basic earnings per common share | $ | 21,626 | | | 32,847 | | | $ | 0.66 | | Effect of dilutive securities: | | | | | | Stock options | — | | | 37 | | | — | | Restricted stock awards | — | | | 126 | | | — | | | | | | | | Performance restricted stock units | — | | | 66 | | | — | | Diluted earnings per common share | $ | 21,626 | | | 33,076 | | | $ | 0.65 | |
|