I'm trying to convert random numbers between 0.1 and 1. Here is what I have done.
Dim piped As Double
piped = CDbl(CDbl((1.0 * Rnd()) + 0.0))
If (piped < 1) Then
pipediameter.Text = "0" & Str(piped)
pipediameter.Text = Str(piped)
But I want the program to show random values between 0.1 and 1.0. In the randomization, the random values must be in multiples of 0.1. E.g. 0.1, 0.2, 0.3 0.4.
Can someone please help