How to format numbers with a comma

Hi I am building a covid19 apps and using this API to fetch data

https://api.covid19api.com/summary

I have done the following block to show data of “TotalConfirmed” cases in Spain, its working well, the numbers come out. But its comes out as 248469 which is not convenient to read. How do I made it to show as 248,469 (with a comma). Any advice? This is my progress…

1 Like

6 posts were merged into an existing topic: How to obtain ONLY specific data from API