emoncms/emoncms — pull request #99 by Paul-Reed (2013-09-13 20:16:49+00:00)
Title: Enables negative numbers to display to correct decimal places in table

1) More people are now using emoncms to log import AND export of power, which can involve negative power data as well as positive. This change enables 'negative value' data to display to the correct number of decimal places in the Feeds table, in pretty much the same way as 'positive' feed data is displayed.
2) Corrects number of decimal places if data is exactly 10 or 100.

Paul

Original code;
![original table screenprint](https://f.cloud.github.com/assets/973580/1141276/fdfad71e-1cb0-11e3-9f91-01a4665e3db4.png)
With this fix applied;
![with fix applied](https://f.cloud.github.com/assets/973580/1141277/fe16050c-1cb0-11e3-81da-0a615155898f.png)