XML 19 R9.htm IDEA: XBRL DOCUMENT v3.8.0.1
3. EARNINGS PER SHARE
6 Months Ended
Nov. 30, 2017
Earnings Per Share [Abstract]  
3. EARNINGS PER SHARE

3. EARNINGS PER SHARE

 

    Basic earnings per share is determined using the weighted average number of common shares outstanding during the period. Diluted earnings per share is determined using the weighted average number of common shares and potential common shares (representing the dilutive effect of stock options, RSUs and ESPP shares) outstanding during the period using the treasury stock method.

 

    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)

 

    For the purpose of computing diluted earnings per share, the weighted average number of potential common shares does not include stock options with an exercise price greater than the average fair value of the Company’s common stock for the period, as the effect would be anti-dilutive. Stock options to purchase 263,000 shares of common stock were outstanding as of November 30, 2017 but were not included in the computation of diluted net income per share, because the inclusion of such shares would be anti-dilutive. In the three and six months ended November 30, 2016, potential common shares have not been included in the calculation of diluted net loss per share as the effect would be anti-dilutive. As such, the numerator and the denominator used in computing both basic and diluted net loss per share for this period are the same. Stock options to purchase 3,229,000 shares of common stock, RSUs for 72,000 shares and ESPP rights to purchase 246,000 ESPP shares were outstanding as of November 30, 2016, but were not included in the computation of diluted net loss per share, because the inclusion of such shares would be anti-dilutive. The 2,657,000 shares convertible under the convertible notes outstanding at November 30, 2017 and 2016 were not included in the computation of diluted net income (loss) per share, because the inclusion of such shares would be anti-dilutive.