2.30 will display 2.3 in php

<?php
echo floatval(8.00);
8
echo floatval(2.30);
2.3
echo floatval(2.56);
2.56
?>

Related Sourcecode

More Sourcecode

×
Google login
SignUp with Email
X