XML 59 R45.htm IDEA: XBRL DOCUMENT v3.23.3
Financial Instruments - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Oct. 31, 2023
Oct. 31, 2022
Apr. 30, 2023
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 9.0 $ 18.6 $ 26.2 $ 33.0  
Unrealized gains relates to equity securities     0.4    
Unrealized losses relates to equity securities       10.7  
Not Designated as Hedge Instrument | Foreign currency forward contracts          
Financial Instrument [Line Items]          
Foreign currency losses 3.2 $ 1.5 1.5 $ 2.1  
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 107.4   107.4   $ 112.7
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 29.9   $ 29.9   $ 41.1
Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     24 months