Swiss star Roger Federer, who is currently competing at the Miami Open, has revealed that he sacrificed college and friendships at a young age in order to make it as a professional, Tennis World USA report.

The 37-year-old turned professional back in 1998 aged 17 and has gone on to become the second most successful player of all time behind American Jimmy Connors.

Federer, who has won 20 Grand Slam events during his career, claimed his 100th career singles title with victory at the Dubai Tennis Championship earlier this month, leaving him nine behind Connors.

The Swiss international could earn his 101st title on Sunday after he defeated Canadian Denis Shapovalov in the semi-finals of the Miami Open on Friday.

Matthew Stockman/Getty Images Sport

And talking in his Miami Open press conference, Federer was asked what he had to sacrifice in order to make it at the top level.

School, to some extent. I stopped at 16. I would have continued, I guess if I wasn’t a tennis player.

I mean, I guess friendships, the ones you make from 16 to 20 in that time. So my friends come from other places and from other walks of life. But the sacrifices were worth it, and I would do it maybe not exactly all over again, but I was happy I chose the road I chose and I was allowed to by my parents.

The veteran will reportedly continue competing into 2020, extending his professional career into a 22nd season.

Is Roger Federer the greatest player of all time?