FileAccess Orion

IntervalRounding

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

Table of Contents

callRoundMethod()  : mixed
roundWith()  : mixed

Methods

callRoundMethod()

protected callRoundMethod(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
$method : string
$parameters : array<string|int, mixed>
Return values
mixed

roundWith()

protected roundWith(mixed $precision, mixed $function) : mixed
Parameters
$precision : mixed
$function : mixed
Return values
mixed

Search results