I had to convert a large decimal number to hexadecimal so i use the function dechex
.
So my code go like these :
$large_number = '637188198442990866068821375'
$large_hex = dechex($large_number)
but when i print the variable $large
echo $large
i got these value 7fffffffffffffff
and i am very sure that i lose some precision.
What can i do to get the full precision in these operation ?