I'm trying to code a drop-down menu that has four options; one for pie,exp, root 3, and the golden ratio.(all math values) Beside the drop-down menu, there is an option for user-inputted data, they must input only positive numbers. I must take there selected drop-down menu option and times it by the user inputted number. I'm not sure how to check which option the user chose.
<form id="s" method="post">
<select id="math" name="options">
<option value="nothing">Please select a constant</option>
<option value="pie">Pi</option>
<option value="econs">e</option>
<option value="ratio">Golden Ratio</option>
<option value="root">Root 3</option>
</select>
<input type="submit" name="Submit" value="Send">
Everything That ive tried has failed