I already know about php precision troubles, but I'm trying to understand this case, in this code:
$value = 100000000.00000001;
return $value;
it will return:
100000000
but if i take the same $value and save it into my database (decimal 20,8 column) it will save the right value (100000000.00000001). Is there any way to convert this value to a string so my php can return the correct value (as a string)?