v3.26.1
Earnings Per Share - Schedule of Earnings Per Share (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Apr. 30, 2026
Jan. 31, 2026
Jul. 31, 2025
Apr. 30, 2025
Jan. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Earnings Per Share [Abstract]                
Net income $ 432.8 $ (77.9) $ 130.8 $ 98.3 $ 87.7 $ 104.3 $ 485.7 $ 290.3
Basic:                
Weighted-average common shares (in shares) 193.0     199.3     194.6 199.6
Basic earnings per share (in dollars per share) $ 2.24     $ 0.49     $ 2.50 $ 1.45
Diluted:                
Weighted-average common shares (in shares) 193.0     199.3     194.6 199.6
Effect of dilutive stock plans (in shares) 0.4     0.7     0.6 1.0
Diluted weighted-average common shares (in shares) 193.4     200.0     195.2 200.6
Diluted earnings per share (in dollars per share) $ 2.24     $ 0.49     $ 2.49 $ 1.45