I would require help to convert a string number to integer but the value must remain same. For ex:
Code: Select all
This above prints 2147483647. But I want to print the exact value as entered in $str variable but should be of integer type.
Thanks in advance,