xref: /PHP-8.0/ext/bcmath/tests/bcdiv.phpt (revision b02dd10e)
1--TEST--
2bcdiv() function
3--SKIPIF--
4<?php if(!extension_loaded("bcmath")) print "skip"; ?>
5--INI--
6bcmath.scale=0
7--FILE--
8<?php
9echo bcdiv("1", "2"),"\n";
10echo bcdiv("1", "2", 2),"\n";
11echo bcdiv("-1", "5", 4),"\n";
12echo bcdiv("8728932001983192837219398127471", "1928372132132819737213", 2),"\n";
13?>
14--EXPECT--
150
160.50
17-0.2000
184526580661.75
19