In PHP&#x27;s case, it converts the value to a printable (string) representation, and in so doing rounds off to a precision of 14 digits.<p><a href="http:&#x2F;&#x2F;lxr.php.net&#x2F;xref&#x2F;PHP_5_4&#x2F;Zend&#x2F;zend_operators.c#2142" rel="nofollow">http:&#x2F;&#x2F;lxr.php.net&#x2F;xref&#x2F;PHP_5_4&#x2F;Zend&#x2F;zend_operators.c#2142</a><p>The &quot;mathematically&quot; correct answer is 0.30000000000000004 according to the IEEE-754 spec.