title: I want to compare 2 decimals to see which one is greater
body: <p>I want to compare 2 decimals to see which one is greater.</p>
  
  <p>This doesn't seem to be working for decimals and only works for integers (e.g. 1 > 2) and doesn't work for floats (1.67 > 1.98).</p>
  
  <p><strong>This is my example that doesn't work:</strong></p>
  
  <pre><code>this.testOrder = (valA, valB): boolean =&gt; {
      const radix = 10;
      return parseInt(valA, radix) &gt; parseInt(valB, radix);
  };
  </code></pre>