I am fetching json data from openweather API and I need temperature in integer but it is decimal so that I need typecasting. Now I have to change the type without creating other method.
I have defined the properties . How Can I do.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Jan 13, 2017, 9:02 PM EST