Question d’entretien chez Microsoft

Given an integer, write a function that rotates the digits to the right.