PHP Classes

File: sample.php

Recommend this page to a friend!
  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: 13 years ago
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(125, 6);
// assign generated numbers to an array named $numbers
$numbers = $obj->generated_numbers;

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

For more information send a message to info at phpclasses dot org.