I was debugging a bug when I came across a piece of code which can be simplified as below
$value = '9611080820001471';
$value = sprintf('%.0f', (float)$value);
echo $value . "\n";
This produces following Output:
9611080820001472
Can somebody explains why/how the $value
got incremented