Change comma to dot, working with decimals in php
<p>So i have some fields coming from the form. Here you can type 0.3 and it will insert 0.3 in to the database. Do you type 0,3 it will just insert "0".</p>

<pre><code>$product['protein']; // 0,3
</code></pre>

<p>So to this above how can i replace a comma with a dot ?</p>
