How to make random numbers changing in realtime, script

I want to make a script which will generate random numbers something like

0.1345365

I want all 7 numbers behind 0. to change randomly, lets say every 2 seconds. Then I will connect that with a string with 3d text ( I know that part) ,I later plan to use this for something else which I will probably know to do but I dont know how to make this ,can someone help me?

Your number variable is int. It can only be between 0 and 1.

problem solved