Today the movie Jack Reacher reports a vote average of 4.36 in the discover endpoint.
However in the movie endpoint the average is reported as 4.3.
Is the truncation (not rounding) intentional? I can mimic the same in my application but want to make sure it won't be changing or understand why it is reported differently.
Thanks!
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
Travis Bell님의 댓글
10월 29, 2016 at 1:07 오후
What you're seeing is more likely a cache difference. I just cleared the cache now both are reporting 4.3. The website and get info methods (Ruby) both round to a single decimal while the search/discover/featured list methods (Lua) round to 2 decimals. There's a reason for this and the long and short of it is because of the ay Lua wants to round floats. Getting it to round the same way Ruby does proved to be surprisingly difficult, so for now they're different.