Zipcodes that begin with zero
Issue #14
new
I cant send any zipcodes that begin with zero thru to createWeatherForecas()
When you convert a valid zip like 07002 to int it comes out as 7002.
Would it be possible to change the signature to accept string so that i can send zip codes thru that start with zeros?
Comments (2)
-
repo owner -
Same with
currentWeatherByZipCode()
. Perhaps the existing methods could be deprecated and new overloaded ones that acceptString
could be added? - Log in to comment
Hi Chris, thanks for reporting this issue. Yes, it’s a bug.
I will work on it in the next release. Thank you.