A West Palm Beach attorney obtained a $39 million settlement with a pharmaceutical company whose chewable vitamins allegedly contained less than half the promised amount of fluoride.

Endo Pharmaceuticals Inc. and seven subsidiaries agreed Thursday to pay the federal government and 26 state Medicaid programs, including Florida’s, to settle a whistleblower suit filed by dentist Stephan Porter of West Palm Beach.