z=0.3178178178178....
10z=3.178178178178..... (1)
10000z=3178.178178178.... (2)
(2)-(1), we get
9990z=3175
⇒z=31759990
⇒z=6351998