The correct sytax for IF THEN with variables
<p>How does one code for a choice between two options?</p>

<pre><code>if ((one_spinner.getSelectedItem().toString()
                    .equals("one"))) {
                double one_thing = new Double(one.getText()
                        .toString());
                double two_thing = one_thing * 5;

            } else {
                double two_thing = new Double(one.getText()
                        .toString());
                double one_thing = two / 5;
            }
</code></pre>
