XML 38 R27.htm IDEA: XBRL DOCUMENT v3.22.4
NET INCOME PER SHARE (Tables)
3 Months Ended
Jan. 31, 2023
Earnings Per Share [Abstract]  
Reconciliation of the numerators and denominators of the basic and diluted net income per share
The following table presents the calculation of basic and diluted net income per share:
Three Months Ended
January 31,
 20232022
in millions, except per-share amounts
Net income$260 $229 
Basic weighted-average shares178 183 
Potential common shares— stock options and other employee stock plans
Diluted weighted-average shares180 184 
Net income per share - basic$1.46 $1.25 
Net income per share - diluted$1.45 $1.24 
Diluted shares outstanding primarily include the dilutive effect of non-vested RSUs and in-the-money options. The diluted effect of such awards is calculated based on the average share price of each period using the treasury stock method, except where the inclusion of such awards would have an anti-dilutive impact. Anti-dilutive shares excluded from the calculation of diluted earnings per share were not material for the three months ended January 31, 2023 and 2022.