Just wondering in php, if it was possible to convert a string to a double. I am using a financial web service which provides a price as a string. I really need to process th
For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings.
$s = '1234.13'; $double = bcadd($s,'0',2);
PHP: bcadd