The following table presents the computation of net income (loss) per share of common stock (in thousands, except per share data): | | | | | | | | | | Three Months Ended January 31, | | 2017 | | 2016 | Basic and diluted net income (loss) per share attributable to VeriFone Systems, Inc. stockholders: | | | | Numerator: | | | | Net income (loss) attributable to VeriFone Systems, Inc. stockholders | $ | (16,623 | ) | | $ | 23,501 |
| Denominator: | | | | Weighted average shares attributable to VeriFone Systems, Inc. stockholders - basic | 111,388 |
| | 111,266 |
| Weighted average effect of dilutive stock options, RSUs and RSAs
| — |
| | 1,085 |
| Weighted average shares attributable to VeriFone Systems, Inc. stockholders - diluted | 111,388 |
| | 112,351 |
| Net income (loss) per share attributable to VeriFone Systems, Inc. stockholders: | | | | Basic | $ | (0.15 | ) | | $ | 0.21 |
| Diluted | $ | (0.15 | ) | | $ | 0.21 |
|
|