XML 60 R45.htm IDEA: XBRL DOCUMENT v3.22.4
Financial Instruments - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Jan. 31, 2023
Jan. 31, 2022
Apr. 30, 2022
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 14.3 $ 18.7 $ 47.3 $ 54.7  
Unrealized losses relates to equity securities     2.8    
Unrealized gains relates to equity securities       12.0  
Not Designated as Hedge Instrument | Foreign currency forward contracts          
Financial Instrument [Line Items]          
Foreign currency gains (losses) 3.3 $ (0.3) 1.2 $ 0.2  
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 109.0   109.0   $ 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 $ 35.8   $ 35.8   $ 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     15 months