jkloosterman/qr_nutrition — pull request #16 by harrisadp (2014-08-13 03:00:35+00:00)
Title: Potential fix for decimal issue. Replaced "type: 'numeric'" with "decima...

#15
I replaced "type: 'numeric'" with "decimalPlace: 0" wherever it was needed on bitecode.js. I ran a few tests, and everything seems to work fine. It takes whatever value the user put in and rounds it to the number of decimal places specified, without throwing off subsequent values.

I also changed the sugar and fiber fields to allow specification to the tenths place.