Skip to content

Number

Number#

  • boolean($chanceOfGettingTrue = 50): (bool) true
  • numberBetween($min = 0, $max = 2147483647): (int) 272128026
  • randomDigit(): (int) 0
  • randomDigitNot($except = 0, $retries = 1000): (int) 2
  • randomDigitNotZero(): (int) 9
  • randomFloat($nbMaxDecimals = null, $min = 0, $max = null): (float) 1.7518362971298475E+308
  • randomNumber($nbDigits = null, $strict = false): (int) 87821802