PHP Classes

Generate random float numbers: Generate random floating point numbers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 347 All time: 6,480 This week: 1,053Up
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: 29
All time rank: 86618 in Turkey Turkey
Week rank: 13 Up1 in Turkey Turkey Up
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:347All time:6,480
 This week:0This week:1,053Up