XML 69 R43.htm IDEA: XBRL DOCUMENT v3.22.2.2
Financial Instruments - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2022
Oct. 31, 2021
Apr. 30, 2022
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 18.6 $ 14.3 $ 33.0 $ 36.0  
Unrealized losses relates to equity securities     10.7    
Unrealized gains relates to equity securities       8.1  
Not Designated as Hedge Instrument | Foreign currency forward contracts          
Financial Instrument [Line Items]          
Foreign currency gains (losses) (1.5) $ 0.4 (2.1) $ 0.5  
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   $ 89.7
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 40.3   $ 40.3   $ 35.8
Available For Sale Marketable Securities | Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Available For Sale Marketable Securities | Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     18 months