Floor
class Floor extends NumberMutator (View source)
Rounds a number down. Optionally with a given precision.
Methods
__construct(int $precision = 0)
No description
float|int
mutateNumber(float|int $value)
No description
Details
__construct(int $precision = 0)
No description
static Floor
make(int $precision = 0)
No description
mixed
mutate(mixed $value)
Mutate the input value.
protected float|int
mutateNumber(float|int $value)
No description