<?php $float = 1.1111111111; $int = round ($float * 1000); $float = $int / 1000; var_dump ($float);
You have javascript disabled. You will not be able to edit any code.