xref: /PHP-8.0/ext/bcmath/tests/bug.66364.phpt (revision a555cc0b)
1--TEST--
2Bug #66364 (BCMath bcmul ignores scale parameter)
3--SKIPIF--
4<?php
5if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
6?>
7--FILE--
8<?php
9var_dump(bcmul('0.3', '0.2', 4));
10?>
11--EXPECT--
12string(6) "0.0600"
13