title: Use grams and kgs as quantity for enhanced ecommerce in google analytics
body: <p>In one of our ecommerce system we have products in which we use grams or kilograms as the quantity. i.e. we can buy 500 gm of X products with price, say, 2 euros per kg, then on google analytics, the revenue is calculated as <code>500 * 2 = 1000</code> euros. Which is incorrect as the actual revenue should have been just 1 euro. The revenue is falsely maximized. 
  We tried sending the quantity as 0.5 but google analytics accepts integer value only for quantity. 
  Is there a way we can send grams or kgs as quantity or use decimal values? </p>