<?php foreach ([0.1, -0.1, 1.0, 123.4, -123.4, -5.45, 5.46] as $i) { $b=sprintf("%.1e\n", $i); echo $i.' => '.(float)$b. "\n"; }
You have javascript disabled. You will not be able to edit any code.