Wins
(Saini)
May 6, 2022, 12:08pm
#1
I can generate Random number with decimal places but but but
the decimal places numbers are not changed (as random) [as shown in below 2nd image]

Output is :

so Question is: How do I get randomize decimal places???

please reply as soon as possible!!

Wins
(Saini)
May 6, 2022, 12:22pm
#3
I think it also works @dora_paz ?/

TimAi2
(metricrat)
May 6, 2022, 12:23pm
#4
You need a bit more trickery if you want decimals 0.01 - 0.09â€¦

1 Like

Wins
(Saini)
May 6, 2022, 12:29pm
#5
Just Give
me the solution
please

Use above procedure

Please elaborate more, what do you mean by that ?

1 Like

Now if you want to show all number from 0 to random by â€¦ use

Wins
(Saini)
May 6, 2022, 1:07pm
#10
sample video is given below try to play and understand what i am looking for

Example: If I got random number 7.68 then
I want to show from 0 to 7.68 in increasing order (exactly as shown in above video)

Getting it ??
Please reply!!

Select a random number eg 7.68.

Create a variable â€śTargetâ€ť and store 7.68 to it.

Create another variable â€śCounterâ€ť and set it to 0.

Add a Clock component, set interval to 100.

Then each time the Clock fires (every 100 milliseconds if interval is 100) increase the Counter by 0.01 until it equals Target. When Counter = Target stop the Clock.