I have the exact problem described here: https://community.esri.com/t5/arcgis-online-questions/integers-displaying-with-decimal-places-bug/td...
Except I'm on Enterprise Server 10.9. The above issue was solved by hacking the json. Is there a fix that does not involve that?