title: Should I use Ints for monetary values in GraphQL?
body: <p>I know that I should use integers for "money values" when programming. I know it's because of the <code>0.1 + 0.2 != 0.3</code> problem. But I don't know the problem well enough to know if that's a problem in data formats (like JSON) as well.</p>
  
  <p>In my concrete case: should I define</p>
  
  <pre><code>type Money {
      amount: Float!
      # ...
  }
  
  </code></pre>
  
  <p>or</p>
  
  <pre><code>type Money {
      amount: Int!
      # ...
  }
  
  </code></pre>
  
  <p>in GraphQL?</p>