1--TEST--
2bcadd() with non-integers
3--EXTENSIONS--
4bcmath
5--INI--
6bcmath.scale=5
7--FILE--
8<?php
9echo bcadd("2.2", "4.3", "2")."\n";
10echo bcadd("2.2", "4.3", 2)."\n";
11echo bcadd("2.2", "-7.3", "1")."\n";
12echo bcadd("2.2", "-7.3", 1)."\n";
13echo bcadd("-4.27", "7.3")."\n";
14echo bcadd("-4.27", "-7.3");
15?>
16--EXPECT--
176.50
186.50
19-5.1
20-5.1
213.03000
22-11.57000
23