Suddenly, the api.spotify.com/v1/tracks/{id} endpoint has started giving me track duration_ms as a float e.g.
"duration_ms": 2345.0,
The endpoint always used to return an int, which matches the documentation. Weirdly the response from the "try it" response sample still returns an int, but I think all that shows is how useless that thing is.