Earnings Per Share
3 Months Ended
Mar. 31, 2018
Earnings Per Share [Abstract]  
Earnings (loss) per share
Note 13 – Earnings Per Share

Earnings per share are computed using the two-class method. Basic earnings per share is computed by dividing net income allocated to common shares by the weighted average number of common shares outstanding during the applicable period. Diluted earnings per share is computed by dividing net income by the weighted average number of common shares outstanding adjusted for the dilutive effect of all potential common shares.

Presented below are the calculations for basic and diluted earnings per share:

  
Three months ended March 31,
 
  
2018
  
2017
 
       
       
Net income
 
$
6,953
   
6,572
 
         
Weighted average shares outstanding
  
27,509
   
27,323
 
Effect of dilutive potential common shares
 
$
293
   
544
 
Diluted weighted average shares outstanding
 
$
27,802
   
27,867
 
         
Basic earnings per share
 
$
0.25
   
0.24
 
Diluted earnings per share
 
$
0.25
   
0.24