Menu

## IntervalRounding

IntervalRounding.php : 23

Trait to call rounding methods to interval or the interval of a period.

### Table of Contents

#### Methods

callRoundMethod() : static|null
roundWith() : static|null

### Methods

#### callRoundMethod()

IntervalRounding.php : 25
`protected callRoundMethod(string $method, array<string|int, mixed> $parameters) : static|null`

##### Parameters

$method : string
$parameters : array<string|int, mixed>

##### Return values

static|null

#### roundWith()

IntervalRounding.php : 40
`protected roundWith(DateInterval|string|float|int $precision, callable|string $function) : static|null`

##### Parameters

$precision : DateInterval|string|float|int
$function : callable|string

##### Return values

static|null

## Search results