I am newbe in C# and working on Randon type .
a part of my code is :
but I get an error in the "R=r;" line .Code:
Random r = new Random();
is it possible to change a random variable to double ?