title: Math round from JSON number
body: <p>I have this code, perhaps not correct:</p>
  
  <pre><code>&lt;?php echo round(" + json.list[0].number + ");?&gt; // number is 25.54864869
  </code></pre>
  
  <p>I want round number to 25 but this code is wrong. How can I do?
  <hr> 
  Now I post full code because I haven't solved </p>
  
  <pre><code>&lt;script language='javascript'&gt;
      $(document).ready(init);
  
      function init() {
          $.getJSON("file.json").done(onSuccess).fail(onError);
      }
  
      function onSuccess(json) {
          console.log(json);
          $("#box").html("&lt;table style='border-collapse:collapse;border:1px solid #ddddcc;color:#000000;width:100%;text-aling:center;'&gt;" +
          "&lt;tr&gt;&lt;td style='width:25%;'&gt; &lt;/td&gt;&lt;td&gt;" + json.list[0].dt_txt +  "&lt;/td&gt;&lt;td&gt;" etc etc
  </code></pre>