Hi, I just noticed that the field revenue is a String object and not a numeric as one could expected. Was it made on purpose ? Is it in dollars ? It would be cool if the api could do the conversion based on the Locale
Thanks
Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.
Хочете оцінити чи додати до списку?
Немає облікового запису?
Відповідь від Travis Bell
5 лютого 2017, 10:31
Just an oversight, yes. I'll get it fixed.
All revenue on TMDb is assumed to be in USD. I'm not sure it makes sense to format the value API side, well, at least not as is. Maybe a formatted field would be useful. Although this API has no concept of locale formatting so I would need to hook that up first and at this time, it's a relatively low priority.