XML 33 R23.htm IDEA: XBRL DOCUMENT v3.8.0.1
3. EARNINGS PER SHARE (Tables)
6 Months Ended
Nov. 30, 2017
Earnings Per Share [Abstract]  
Earnings per share

    The following table presents the computation of basic and diluted net income (loss) per share attributable to the Company’s common shareholders (in thousands, except per share data):

 

    Three Months Ended     Six Months Ended  
    November 30,     November 30,  
    2017     2016     2017     2016  
                         
Numerator: Net income (loss)   $ 60     $ (1,452)   $ 70     $ (2,207)
                                 
Denominator for basic net income (loss) per share:                                
Weighted average shares outstanding     21,645       16,029       21,531       14,673  
                                 
Shares used in basic net income (loss) per share calculation     21,645       16,029       21,531       14,673  
Effect of dilutive securities     1,238       --       1,406       --  
                                 
Denominator for diluted net income (loss) per share     22,883       16,029       22,937       14,673  
                                 
Basic net income (loss) per share   $ 0.00     $ (0.09)   $ 0.00     $ (0.15)
Diluted net income (loss) per share   $ 0.00     $ (0.09)   $ 0.00     $ (0.15)