bcfloor()
function bcfloor(string $num): string
Rounds an arbitrary-precision decimal number down to an integer.
Parameters:
$num(string)
Returns: string
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how bcfloor is implemented in the compiler, see the internals page.