title: What's the best way to validate numbers with comma as decimal separator?
body: <p>In a Laravel app, I have a form on which I need to validate numbers with a comma as the decimal separator. For the moment, it only works with a point because my validation rule is:</p>
  
  <pre><code>$rules = [
      'amount' =&gt; 'numeric|min:0',
  ];
  </code></pre>
  
  <p>What’s the best method : </p>
  
  <ul>
  <li>Keep the rule and replace comma with point before validation ? Is there a before_validation observer or something like this ?</li>
  <li>Build a custom validation rule ? french_numeric for example ?</li>
  </ul>