I am developing a program that uses the twitter api. When I tweet an id is returned. This id is of type long but I save it as "Long". When I try to use it in the interface with AJAX, I see that the id is rounded to the nearest number. For example correct id = 1490964930547310594 but what I am displaying on screen is 1490964930547310600. How can I solve this problem? I've never had this problem with thymeleaf. It happened when I started using to angularJs.
I'm converting the id from Mikroservice to Long type: tweet.setStatusId(Long.parseLong(resp.get("statusId").toString()));