lundi 20 mai 2019

Generate a random duration

I want to know how to generate a random Duration in ada.

There is my code :

time : Duration;
time := 0.8;

How can I add a random value to time between 0.5 and 1.3 ?




Aucun commentaire:

Enregistrer un commentaire