From f59b53e589a325bf8133505799b22696ced767f8 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Sat, 9 Sep 2017 13:09:19 +0000 Subject: [PATCH] Add note regarding possibly truncated scale git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343030 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/bc/functions/bcmul.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/reference/bc/functions/bcmul.xml b/reference/bc/functions/bcmul.xml index 600376a993..d40ec0972a 100644 --- a/reference/bc/functions/bcmul.xml +++ b/reference/bc/functions/bcmul.xml @@ -67,6 +67,28 @@ echo bcmul('2', '4'); // 8 + + &reftitle.notes; + + + bcmul may return a result with fewer digits after the + decimal point than the scale parameter would + indicate. This only occurs when the result doesn't require all of the + precision allowed by the scale. For example: + + <function>bcpow</function> scale example + + +]]> + + + + + + &reftitle.seealso;