France-based Danone has agreed to buy WhiteWave Foods and its health-based brands like Silk and Horizon Organic in a deal valued at about $12.5 billion. The two companies said Danone will pay $56.25 a share, a 24 percent premium over WhiteWave's 30-day average closing price of $45.43. That would value WhiteWave at $10.1 billion based on 180.2 million shares outstanding at the end of last year. The transaction, which also includes debt and certain other WhiteWave liabilities, is expected to close by the end of the year, subject to the approval of WhiteWave's shareholders and regulatory approvals.