(PHP 4, PHP 5)
bcdiv — تقسیم دو عدد با دقت دلخواه
تقسیم left_operand بر right_operand.
عملگر چپ به عنوان رشته.
عملگر راست به عنوان رشته.
This optional parameter is used to set the number of digits after the decimal place in the result. You can also set the global default scale for all functions by using bcscale().
بازگرداندن نتیجه به عنوان رشته یا NULL اگر right_operand برابر با 0 باشد.
Example #1 مثال bcdiv()
<?php
echo bcdiv('105', '6.55957', 3); // 16.007
?>