@ 2018-11-14T14:05:51Z <?php
bcscale(1);
var_dump(bcmod('4', '3.5'));
var_dump(fmod('4', '3.5'));
var_dump('4'%'3.5');
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.0 - 8.1.33 , 8.2.0 - 8.2.29 , 8.3.0 - 8.3.25 , 8.4.1 - 8.4.12 string(3) "0.5"
float(0.5)
Deprecated: Implicit conversion from float-string "3.5" to int loses precision in /in/Bi8sU on line 6
int(1)
Output for 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.32 , 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 string(3) "0.5"
float(0.5)
int(1)
Output for 7.3.32 - 7.3.33 , 7.4.33 , 8.0.13 Fatal error: Uncaught Error: Call to undefined function bcscale() in /in/Bi8sU:3
Stack trace:
#0 {main}
thrown in /in/Bi8sU on line 3
Process exited with code 255 . Output for 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 string(1) "1"
float(0.5)
int(1)
preferences:dark mode live preview ace vim emacs key bindings
131.69 ms | 410 KiB | 5 Q