mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Merge pull request #123 from Seldaek/patch-3
Add alternative randomNumber usage
This commit is contained in:
commit
843e60b04f
@ -160,6 +160,7 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle
|
||||
randomDigit // 7
|
||||
randomDigitNotNull // 5
|
||||
randomNumber($nbDigits = NULL) // 79907610
|
||||
randomNumber($from, $to) // 39049
|
||||
randomFloat($nbMaxDecimals = NULL, $min = 0, $max = NULL) // 48.8932
|
||||
randomLetter // 'b'
|
||||
randomElement($array = array ('a','b','c')) // 'b'
|
||||
|
Loading…
x
Reference in New Issue
Block a user