xref: /PHP-7.3/ext/bcmath/tests/bcmul.phpt (revision 06087614)
1--TEST--
2bcmul() function
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcmul("1", "2"),"\n";
10echo bcmul("-3", "5"),"\n";
11echo bcmul("1234567890", "9876543210"),"\n";
12echo bcmul("2.5", "1.5", 2),"\n";
13echo bcmul("2.555", "1.555", 2),"\n";
14?>
15--EXPECT--
162
17-15
1812193263111263526900
193.75
203.97
21