By Hillary Busis
Updated October 08, 2013 at 01:54 PM EDT

Oscar-winning actor Tom Hanks revealed last night that he has been diagnosed with type 2 diabetes.

“I went to the doctor and he said, ‘You know those high blood sugar numbers you’ve been dealing with since you were 36? Well, you’ve graduated. You’ve got type 2 diabetes, young man,” the 57-year-old actor told David Letterman on the Late Show Monday

“My doctor said, ‘If you can weigh as much as you weighed in high school you will essentially be completely healthy and will not have Type 2 diabetes,'” Hanks continued. “And I said, ‘Well, I’m gonna have Type 2 diabetes, ’cause there is no way I can weigh as much as I did in high school.'” Hanks then added that as a teen, he weighed just 96 pounds.

Hanks has a history of taking roles that require dramatic changes in his weight. As CBS News notes, he gained 30 pounds to play a gone-to-seed baseball manager in 1992’s A League of Their Own; several years later, he went from 225 pounds to 170 pounds to play a man stranded on a desert island in 2000’s Castaway.

Hanks’ next film, the pirate hijacking drama Captain Phillips, opens Oct. 11.