title: Dollars to Cents in AngularJS for Stripe Checkout
body: <p>So I have a value that is returned from Firebase that looks like this: </p>
  
  <pre><code>143.418
  </code></pre>
  
  <p>When I run it through angulars currency filter it returns:</p>
  
  <pre><code>{{invoice.pricing.graTotal | currency}}
  
  //Returns : $143.42
  </code></pre>
  
  <p>I have integrated Stripe Checkout into my application and it needs values to look like so: </p>
  
  <pre><code>14342
  </code></pre>
  
  <p>So Without the decimal points or dollar signs. Not formatted at all. So how would I get the original value rounded and then remove the decimal point to be sent to stripe?</p>
  
  <p>I tried adding variables to the formatter: </p>
  
  <pre><code>{{invoice.pricing.graTotal | currency:undefined:0}}
  </code></pre>
  
  <p>But that added the dollar sign and removed the cents all together.</p>
  
  <pre><code>$143
  </code></pre>