Location: PHPKode > scripts > Generate random float numbers > generate-random-float-numbers/sample.php
<?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);
?> 
Return current item: Generate random float numbers