Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

float para numeros aleatorios em c

/*aleatorio float entre 0 e a*/
float x = (float)rand()/(float)(RAND_MAX/a);
Source by social.msdn.microsoft.com #
 
PREVIOUS NEXT
Tagged: #float #para #numeros #aleatorios #em
ADD COMMENT
Topic
Name
3+9 =