mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Add coverage for: * different formats of zero (0, 0.0) * small integers and decimals * large integers and large decimals with large fractional part * negative numbers for all of the above ones
11 lines
163 B
PHP
11 lines
163 B
PHP
--TEST--
|
|
Bug #66364 (BCMath bcmul ignores scale parameter)
|
|
--EXTENSIONS--
|
|
bcmath
|
|
--FILE--
|
|
<?php
|
|
var_dump(bcmul('0.3', '0.2', 4));
|
|
?>
|
|
--EXPECT--
|
|
string(6) "0.0600"
|