title: PHP Float conversion fails, returns 1
body: <p>I have a function which returns a value of <code>1725.00</code> using the <code>number_format(value,2)</code>. So, now when I convert it to <code>float</code>, it gives <code>1</code>, same for <code>int</code>,<code>intValue</code>,<code>floatValue</code>. Even I tried multiplying with 100 to get the <code>int</code> value, but it gives an error of <code>A non well formed numerical value</code>. Does anyone know what is wrong here?</p>
  
  <pre><code>$balance = (float) currentBalance($user_id); // currentBalance gives a value of 1725, but (float) gives makes the value 1.
  print_r($balance); die; //gives 1.
  </code></pre>
  
  <p>I'm using <code>PHP 7.0+</code> and <code>Laravel 5.8</code>.</p>