v3.26.3
INCOME TAX (Reconciliation of Federal Statutory Rate to Effective Tax Rate from Continuing Operations, Prior Years) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Income Tax Disclosure [Abstract]      
Income tax expense at statutory rate $ 149,312 $ 22,584 $ 133,491
State and local taxes 19,964 4,341 17,629
Research and development credit   (7,255) (1,151)
Foreign rate differential 2,020 (1,344) 513
Interest expense related to uncertain tax positions   1,314 2,154
Non-deductible compensation   1,300 1,651
Nontaxable gain   (2,131) (1,786)
TCJA - Toll charge and related foreign tax credits   (2,766) 0
Other 2,925 6,840 (2,321)
Income tax expense $ 55,162 $ 22,883 $ 150,180
Effective income tax rate 7.80% 21.30% 23.60%