1
Answer

how to do typecasting of json data

sonam tiwari

sonam tiwari

7y
206
1
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.  

Answers (1)