$testingMode
$testingMode : boolean
Functions for 'Generate' script.
generateAndSaveRandomNumbers(integer|float $min, integer|float $max, integer|float $decimalPlaces, integer $maxFileSize, string $filename, string $fileExtension = '.dat', string|mixed $delimiter = ' ')
Generate string with randomized numbers.
integer|float | $min | Minimum allowed number to generate |
integer|float | $max | Maximum allowed number to generate |
integer|float | $decimalPlaces | Number of decimal places |
integer | $maxFileSize | Maximum file size in bytes |
string | $filename | Output filename without extension |
string | $fileExtension | File extension. Default is '.dat' |
string|mixed | $delimiter | Delimiter. Default is ' ' |
getMinMaxNumberSize(integer|float $min, integer|float $max, integer|float $decimalPlaces) : array
Switch min and max if min > max.
integer|float | $min | Minimum allowed number to generate |
integer|float | $max | Maximum allowed number to generate |
integer|float | $decimalPlaces | Number of decimal places |