PHP Classes
elePHPant
Icontem

Generate random float numbers: Generate random floating point numbers

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-05-14 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 352 All time: 6,536 This week: 1,077Up
Version License PHP version Categories
generate_numbers 1.0Freeware5PHP 5, Math
Description Author

This is a very simple class that can be used to generate random floating point numbers.

It can generate a given count of random floating point numbers in such way that the sum of all generated numbers is equal to a given total.

The generated random numbers are stored in a class array variable.

Picture of Ovunc Tukenmez
  Performance   Level  
Name: Ovunc Tukenmez <contact>
Classes: 10 packages by
Country: Turkey Turkey
Age: 30
All time rank: 84418 in Turkey Turkey
Week rank: 866 Down20 in Turkey Turkey Down
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file generate_random_float_numbers_class.php Class Class file
Accessible without login Plain text file sample.php Example Example
Accessible without login Plain text file sample_output.txt Output Sample output

 Version Control Unique User Downloads Download Rankings  
 0%
Total:352
This week:0
All time:6,536
This week:1,077Up