BERLIN, March 1 (Reuters) - Daimler Truck on Friday posted better-than-expected pre-tax earnings for 2023 and raised its dividend, but said it expected revenue would be flat to slightly up in 2024 due to continued tough economic conditions.

The truck maker also said it would buy back 2 billion euros ($2.16 billion) worth of shares over the next two years.

It said it delivered 526,053 trucks and buses in 2023, 1% more than in 2022 and delivered an adjusted margin of 9.9, its highest ever, versus 7.7% the previous year.

Daimler Truck added that the result brought it close to its 2025 target of double-digit margins.

The company, which said it achieved its full-year targets for 2023, is expecting adjusted return on sales for its key industrial business of between 9.0% and 10.5% in 2024.

It reported earnings before income tax (EBIT) of 5.5 billion euros for 2023, up from 4 billion euros a year earlier. Analysts had expected EBIT of 5.2 billion euros.

($1 = 0.9251 euros) (Reporting by Ilona Wissenbach, Writing by Miranda Murray; Editing by Jacqueline Wong and Janane Venkatraman)