Excessive rounding

  • 1
  • Problem
  • Updated 6 years ago
A rain total of 0.3mm (0.01 in) is rounded down to 0 for all precipitation fields, though it shows up fine on the main WU webpage. I think the metric total should be shown to one dp to fix this.
Photo of Timmead

Timmead

  • 6 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 122 Reply Likes
What URL is it happening on?
Photo of Timmead

Timmead

  • 6 Posts
  • 0 Reply Likes
The API version:
http://api.wunderground.com/api/46272...

The webpage:
http://www.wunderground.com/weatherst...

The webpage XML:
http://api.wunderground.com/weatherst...

All show different things. Only the webpage shows the correct metric value of 0.3mm. The webpage xml shows correct imperial but wrong metric (though correct precision). The API XML is wrong for both (overly rounded).