Wednesday, May 23, 2012

Confusion in int conversion of a string in PHP

I am unable to get the exact value of $data, which I converted into integer from this,



<?php

$data = '9999999999';
echo $datan = (int) $data;

?>


How can I get the exact value of $data from $datan?





No comments:

Post a Comment