Have you viewed the data returned in raw 317 $4 without doing any calculations? Most likely, the server is returning data different than you are expecting.

-genius_at_work