To implement the addition of PHP, call the addition function of PHP, first assign the values 1 and 2 to id and id1, and then call the addition function. The parameters in parentheses
和2019-03-28 18:26:18
0
0
926
<?php
$id = '1';
Define a parameter
$id2 = '2';Define a parameter
echo bcadd($id,$id2,3);Call the php addition function and output, The third parameter is the number of digits to be retained after the decimal point