title: Generics - where T is a number?
body: <p>I'm trying to figure a way to create a generic class for number types only, for doing some calculations.</p>
  
  <p>Is there a common interface for all number types (int, double, float...) that I'm missing???</p>
  
  <p>If not, what will be the best way to create such a class?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>The main thing I'm trying to achieve is checking who is the bigger between two variables of type T.</p>