Float values in strings PHP
<p>I have a html form (it is a receipt form for a shop) which contains around a hundred text boxes and the user is suppose to enter a <strong>float value</strong> or something of the form of <strong>"20.2*33.4"</strong>. The form is submitted to a php page. I want to make sure that every text box contains same pattern and then I want to evaluate the multiplication that is inside the text to.</p>

<p>I want to know how to check if the string is in the format "float*float"?</p>

<p>Can any please help. Thank You</p>
