Login   Register  
PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ovunc Tukenmez  >  Generate random float numbers  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Example
Class: Generate random float numbers
Generate random floating point numbers
Author: By
Last change:
Date: 2008-05-14 08:22
Size: 292 bytes
 

Contents

Class file image Download
<?php
include('generate_random_float_numbers_class.php');
// generate 6 numbers totaling 125
$obj = new generate_random_float_numbers(1256);
// assign generated numbers to an array named $numbers
$numbers $obj->generated_numbers;

//print generated numbers
print_r($numbers);
?>