title: PHP 7.4 number_format still renders as string
body: <p>This is my array $grand_total_payouts,</p>
  <pre><code> array(5) { 
              [0]=&gt; string(6) &quot;120.00&quot; 
              [1]=&gt; string(8) &quot;1,200.00&quot; 
              [2]=&gt; string(8) &quot;1,347.50&quot; 
              [3]=&gt; string(5) &quot;40.00&quot; 
              [4]=&gt; string(6) &quot;200.00&quot; 
             }
  </code></pre>
  <p>When I do this</p>
  <pre><code>   $value = '';
      foreach ($grand_total_provider_payouts as $payout) {
          $value = number_format($payout, 2, '.', ',' );
          var_dump($value);
      }
  </code></pre>
  <p>I get this.</p>
  <pre><code> string(6) &quot;120.00&quot; 
   string(4) &quot;1.00&quot; 
   string(4) &quot;1.00&quot; 
   string(5) &quot;40.00&quot; 
   string(6) &quot;200.00&quot;
  </code></pre>
  <p>Why do [1] and [2] render as 1.0? And why do the numbers render as strings and not int?</p>
  <p>According to <a href="https://www.php.net/manual/en/function.number-format" rel="nofollow noreferrer">https://www.php.net/manual/en/function.number-format</a>
  It should render as a number.</p>
  <p>My ultimate goal is to sum these numbers.
  What is the right way to convert the string to int?</p>