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% |
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Interest Expense Related To Uncertain Tax Positions No definition available.
|
| X | ||||||||||
- Definition Effective Income Tax Rate Reconciliation, Toll Charge and Related Foreign Tax Credits No definition available.
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to foreign income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of income tax expense or benefit for the period computed by applying the domestic federal statutory tax rates to pretax income from continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to other adjustments. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to state and local income tax expense (benefit). Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to research tax credit. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income (loss) exempt from income taxes. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|