title: What is the exact equivalent of JS: something.toFixed() in PHP?
body: <p>If I have  <code>a.toFixed(3);</code> in javascript ('a' being equal to 2.4232) what is the exact equivalent command in php to retrieve that? I searched for it but found no proper explanation appended to the answers.</p>