Hey I’ve found it.
If you follow the odometer tutorial from Aharon Rabinowitz
https://library.creativecow.net/articles/rabinowitz_aharon/Odometer_2/video-tutorial
there’s the expression you put in the Offset effect (shift to center property)
Depending of the digit, you have to modify the start_value and the End_value. Hope someone will use it.
variableSlider =thisComp.layer("master compteur").effect("Slider Control")("Slider");// this line depends of your layer's name of course;
digit1 = Math.floor(variableSlider%10);
digit2 = Math.floor(variableSlider/10);
digit3 = Math.floor(variableSlider/100);
digit4 = Math.floor(variableSlider/1000);
digit5 = Math.floor(variableSlider/10000);
digit6 = Math.floor(variableSlider/100000);
digit7 = Math.floor(variableSlider/1000000);
start_value=digit2;
end_value=digit2+1;
space_between_numbers=192
column_height=1920
offset=thisComp.layer("master compteur").effect("Slider Control")("Slider")%10;
y=value[1];
x=linear(offset,9,10,start_value,end_value);
[x*space_between_numbers%column_height,y]