Let $f_n(x)$ be defined as the $n$th digit of the number $x$.
The result of $f_n(x)$ can be only ${0,1,2,3,4,5,6,7,8,9}$ for base 10.
For example, if $x=12.46$, then
$f_2(x)=0$;$f_1(x)=1$;$f_0(x)=2$;$f_{-1}(x)=4$; $f_{-2}(x)=6$ ; $f_{-3}(x)=0$.
If we have such function , we can write any real number easily as shown below:
$x=\sum \limits_{n=-\infty}^\infty f_n(x) 10^n$
I tried to find power series expression of the function. $f_n(x)=a_0(n)+a_1(n)x+a_2(n)x^2+\cdots$
$$\begin{align*} x&=\sum \limits_{n=-\infty}^\infty f_n(x) 10^n\\ &=\sum \limits_{n=-\infty}^\infty (a_0(n)+a_1(n)x+a_2(n)x^2+\cdots ) 10^n\\ \sum \limits_{n=-\infty}^\infty a_0(n) 10^n&=0\\ \sum \limits_{n=-\infty}^\infty a_1(n) 10^n&=1\\ \sum \limits_{n=-\infty}^\infty a_2(n) 10^n&=0 \end{align*}$$
But this do not give me so many thing to define $a_k(n)$
Is it possible to find $a_k(n)$ with some method that known?
I also wonder what the function properties of $f_n(x)$ are? (such as $f_n(x+y)$, $f_n(x.y)$ etc.) I wonder the literature about the function.
Could you please share your knowledge about the function? Sorry for your time if It was asked before or very basic for number theory.
Thanks a lot for advices and answers