PHP Classes

Generate random float numbers: Generate random floating point numbers

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 366 All time: 6,849 This week: 455Up
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: 14 packages by
Country: Turkey Turkey
Age: 38
All time rank: 72011 in Turkey Turkey
Week rank: 215 Up5 in Turkey Turkey Up
Innovation award
Innovation award
Nominee: 6x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:366
This week:0
All time:6,849
This week:455Up