Lines Matching refs:round
2 Test round() function : usage variations - different data types as $precision argument
7 /* Prototype : float round ( float $val [, int $precision ] )
13 echo "*** Testing round() : usage variations ***\n";
81 // loop through each element of $inputs to check the behaviour of round()
85 var_dump(round(123.4456789, $input));
92 *** Testing round() : usage variations ***
144 Warning: round() expects parameter 2 to be long, string given in %s on line %d
149 Warning: round() expects parameter 2 to be long, string given in %s on line %d
154 Warning: round() expects parameter 2 to be long, array given in %s on line %d
159 Warning: round() expects parameter 2 to be long, string given in %s on line %d
164 Warning: round() expects parameter 2 to be long, string given in %s on line %d
169 Warning: round() expects parameter 2 to be long, string given in %s on line %d
174 Warning: round() expects parameter 2 to be long, object given in %s on line %d
185 Warning: round() expects parameter 2 to be long, resource given in %s on line %d