Samsara\Fermat\Core\Provider > RandomProvider
No description available
Methods
Static Methods
public RandomProvider::randomDecimal(int $scale, RandomMode $mode)
randomDecimal
$scale
- type
- int
- description
- No description available
$mode
- type
- RandomMode
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public RandomProvider::randomInt(int|float|string|Decimal $min, int|float|string|Decimal $max, RandomMode $mode, int|null $seed)
randomInt
$min
- type
- int|float|string|Decimal
- description
- No description available
$max
- type
- int|float|string|Decimal
- description
- No description available
$mode
- type
- RandomMode
- description
- No description available
$seed
- type
- int|null
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available
public RandomProvider::randomReal(int|float|string|Decimal $min, int|float|string|Decimal $max, int $scale, RandomMode $mode)
randomReal
$min
- type
- int|float|string|Decimal
- description
- No description available
$max
- type
- int|float|string|Decimal
- description
- No description available
$scale
- type
- int
- description
- No description available
$mode
- type
- RandomMode
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal
- description
- No description available