From 5b9eda32f7c0ba09165f52b6878c488a82274efe Mon Sep 17 00:00:00 2001 From: Saki Takamachi Date: Mon, 2 Dec 2024 14:18:27 +0900 Subject: [PATCH] Avoid nesting includes --- reference/bc/functions/bcdiv.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/reference/bc/functions/bcdiv.xml b/reference/bc/functions/bcdiv.xml index bd293ebd4cee..2b5ccd8a09df 100644 --- a/reference/bc/functions/bcdiv.xml +++ b/reference/bc/functions/bcdiv.xml @@ -52,8 +52,19 @@ - - + &reftitle.errors; + + This function throws a ValueError in the following cases: + + + num1 or num2 + is not a well-formed BCMath numeric string. + + + scale is outside the valid range. + + + This function throws a DivisionByZeroError exception if num2 is 0.