I am struggling with an issue where I have a string value '62.5816993713379' which when trying to convert to a float value gives me a different result.
Please consider the code below:
<?php
$str = '62.5816993713379';
echo floatval($str);
It returns me 62.581699371338 instead of 62.5816993713379
Example: http://codepad.org/WKeLwq7h
Can someone please help me fix this issue?
Regards