Bernie Sanders says he will vote for Hillary Clinton for president.

While stopping short of a full endorsement of his Democratic rival, Sanders says he's "pretty good at arithmetic" and understands that Clinton has more pledged delegates than he does.

"I will do everything I can to defeat Donald Trump," because his campaign is built on bigotry and denying climate change, Sanders told MSNBC's "Morning Joe."

Sanders said his focus now is on representing those who voted for him at the Democratic convention and encouraging them to become part of the democratic process.

"My job right now is to fight for the strongest possible platform in the Democrat election," he said. That would include an agenda to create jobs and raise the minimum wage, he said.

Sign up for the Newsletter

Get the best of delivered to your inbox every day.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)