Earnings Per Share
6 Months Ended
Jun. 30, 2018
Earnings Per Share [Abstract]  
EARNINGS PER SHARE

NOTE 8:- EARNINGS PER SHARE

 

The following table sets forth the computation of basic and diluted net earnings per share:

 

   

Six months ended

June 30,

 
   2018  2017 
 Numerator for basic and diluted net earnings per share:      
        
 Net income (loss) $2,339  $(1,522)
          
 Weighted average shares outstanding, net of treasury stock:        
          
 Denominator for basic net income (loss) per share  34,295,752   33,151,633 
          
 Effect of dilutive securities:        
 Employee share options  589,641   - 
 Denominator for diluted net income (loss) per share  34,885,393   33,151,633 
          
 Basic and diluted net income (loss) per share $0.07  $(0.05)

 

During the six months ended June 30, 2017, the Company was in a loss position and therefore all its securities were antidilutive.