I'm tring to run an specific simulation, i have some code implemented but the result is not the one i'm expecting, i need to generate random uniform(ranged from 0 to 1) numbers with 10 decimal places (in order to convert that in other distribution). Example: 0,0345637897, 0,3445627876, 0,9776428487
this is the code:
double next = r.Next(1000000000, 9999999999);
return double.Parse(String.Format("0.{0}", next));