3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $mynumber = (float) "3.8e-7"; var_dump($mynumber); printf('%.90F', $mynumber);
Output for 5.3.4 - 7.1.0
float(3.8E-7) Notice: printf(): Requested precision of 90 digits was truncated to PHP maximum of 53 digits in /in/qqJ3W on line 5 0.00000038000000000000001456801801587304101559539049049
Output for 5.2.9 - 5.3.3
float(3.8E-7) Notice: printf(): Requested precision of 90 digits was truncated to PHP maximum of 40 digits in /in/qqJ3W on line 5 0.0000003800000000000000145680180158730410
Output for 5.2.1 - 5.2.8
float(3.8E-7) 0.0000003800000000000000145680180158730410
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.2.0
float(3.8E-7) 0.0000003800000000000000710542735760100186
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2
float(3.8E-7)