The following table sets forth the computation of basic and diluted earnings per share for the three and six months ended June 30, 2020 and 2019 (in thousands, except per share data):
|
|
Three Months Ended
June 30, |
|
|
Six Months Ended
June 30, |
|
|
|
2020 |
|
|
2019 |
|
|
2020 |
|
|
2019 |
|
Numerator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Income from continuing operations |
|
$ |
3,442 |
|
|
$ |
2,401 |
|
|
$ |
10,533 |
|
|
$ |
7,181 |
|
Income from discontinued operations |
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
1,194 |
|
Net income |
|
$ |
3,442 |
|
|
$ |
2,401 |
|
|
$ |
10,533 |
|
|
$ |
8,375 |
|
Denominator: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Weighted-average shares outstanding |
|
|
31,997 |
|
|
|
32,394 |
|
|
|
32,166 |
|
|
|
32,366 |
|
Effect of dilutive shares |
|
|
28 |
|
|
|
40 |
|
|
|
25 |
|
|
|
40 |
|
Weighted-average diluted shares |
|
|
32,025 |
|
|
|
32,434 |
|
|
|
32,191 |
|
|
|
32,406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income per share - basic: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Continuing operations |
|
$ |
0.11 |
|
|
$ |
0.07 |
|
|
$ |
0.33 |
|
|
$ |
0.22 |
|
Discontinued operations |
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
0.04 |
|
Net income per share - basic |
|
$ |
0.11 |
|
|
$ |
0.07 |
|
|
$ |
0.33 |
|
|
$ |
0.26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Net income per share - diluted: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Continuing operations |
|
$ |
0.11 |
|
|
$ |
0.07 |
|
|
$ |
0.33 |
|
|
$ |
0.22 |
|
Discontinued operations |
|
|
— |
|
|
|
— |
|
|
|
— |
|
|
|
0.04 |
|
Net income per share - diluted |
|
$ |
0.11 |
|
|
$ |
0.07 |
|
|
$ |
0.33 |
|
|
$ |
0.26 |
|
|