Helllo users, Is there any way to generate a random number between two given float numbers ?
For example, I'd like to generate a number between 0.1 and 0.3. I'm using the command double tempo = Random::uniform(0,time_); But this command requires two int numbers, instead of two float numbers. Thanks!! -- ---------------------------------------------------------------------------------------------------------------- Rafael Perazzo B Mota rafaelpera...@gmail.com Web-page: https://sites.google.com/site/rafaelperazzo/ Doutorando em Ciência da Computação Universidade de São Paulo (USP) Campus da Capital Instituto de Matemática e estatística (IME) ------------------------------------------------------------------------------------------------------------------