Table:
|  |  | Year Ended June 30, |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
| Basic earnings per share |  |  |  |
| Net income attributable to OpenText | $285,501 | $242,224 | $1,025,659(1) |
| Basic earnings per share attributable to OpenText | $1.06 | $0.91 | $4.04 |
| Diluted earnings per share |  |  |  |
| Net income attributable to OpenText | $285,501 | $242,224 | $1,025,659(1) |
| Diluted earnings per share attributable to OpenText | $1.06 | $0.91 | $4.01 |
| Weighted-average number of shares outstanding (in 000's) |  |  |  |
| Basic | 268,784 | 266,085 | 253,879 |
| Effect of dilutive securities | 1,124 | 1,407 | 1,926 |
| Diluted | 269,908 | 267,492 | 255,805 |
| Excluded as anti-dilutive(2) | 2,759 | 2,770 | 1,371 |
Paragraphs:
NOTE 21—EARNINGS PER SHARE
Basic earnings per share are computed by dividing net income, attributable to OpenText, by the weighted average number of Common Shares outstanding during the period. Diluted earnings per share are computed by dividing net income, attributable to OpenText, by the shares used in the calculation of basic earnings per share plus the dilutive effect of Common Share equivalents, such as stock options, using the treasury stock method. Common Share equivalents are excluded from the computation of diluted earnings per share if their effect is anti-dilutive.
(1) Please also see note 14 "Income Taxes" for details relating to a one-time tax benefit of $876.1 million recorded during the three months ended September 30, 2016 in connection with an internal reorganization of our subsidiaries.
(2) Represents options to purchase Common Shares excluded from the calculation of diluted earnings per share because the exercise price of the stock options was greater than or equal to the average price of the Common Shares during the period.
Question:
How is Basic earnings per share computed?