← All docs

bcceil()

Rounds an arbitrary-precision decimal number up to an integer.

bcceil()

function bcceil(string $num): string

Rounds an arbitrary-precision decimal number up to an integer.

Parameters:

  • $num (string)

Returns: string

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how bcceil is implemented in the compiler, see the internals page.