API may returns a float point value with too many numbers after point. E.g 9.699999999999

  • 1
  • Question
  • Updated 5 years ago
May it be fixed from your side?
Photo of JohnyMnemonic

JohnyMnemonic

  • 2 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of WunderWilliam

WunderWilliam

  • 267 Posts
  • 18 Reply Likes
Could you give me an example call (with your key x'd out) that returns that kind of value?

Thank you,
William
Wunderground Support
Photo of JohnyMnemonic

JohnyMnemonic

  • 2 Posts
  • 0 Reply Likes
OK

For example please check wind speed in Sedan city in USA which is 9.699999999 kph. Also check temperature which is "temp_f" = "92.40000000000001";

Here is the screenshot with more detailed response from API with Sedan city forecast data.
http://d.pr/i/RM9X

As you may see several data characteristics returns too big value.

Hope it helps
Best,
API user :)