Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Round fractions up
<?php ceil(int|float $num): float
<?php         throw ValidationException::withMessages([

            $this->username() => [Lang::get('auth.throttle', [

                'seconds' => $seconds,

                'minutes' => ceil($seconds / 60),

            ])],

        ])->status(Response::HTTP_TOO_MANY_REQUESTS);

    }
<?php     public function ceil($value)

    {

        return ceil((float) $value);

    }
<?php     {

        $words = $this->wordCount(strip_tags($value));



        return ceil($words / Arr::get($params, 0, 200));

    }