I want to write a function that applies the floor function to (x/10) and if the number is bigger than 10, then apply the function again, or else keep it as it is.
For example, if x = 20, then I want the answer to be 2, but if x = 100, then the answer should be 1.