{"id":1107,"date":"2022-10-23T23:15:12","date_gmt":"2022-10-23T15:15:12","guid":{"rendered":"https:\/\/qaqaq.top\/?p=1107"},"modified":"2022-11-27T12:39:49","modified_gmt":"2022-11-27T04:39:49","slug":"round_half_up-is-deprecated-%e4%b8%8d%e6%8e%a8%e8%8d%90%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/qaqaq.top\/?p=1107","title":{"rendered":"ROUND_HALF_UP is deprecated. \u4e0d\u63a8\u8350\u4f7f\u7528"},"content":{"rendered":"\n<p>\u9879\u76ee\u4e2d\u6d89\u53ca\u5230\u8ba1\u7b97\u91d1\u989d\u7684, \u90e8\u5206\u4ee3\u7801\u5982\u4e0b, \u7f16\u8bd1\u5668\u63d0\u793aROUND_HALF_UP is deprecated. \u4e0d\u63a8\u8350\u4f7f\u7528.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/qaqaq.top\/wp-content\/uploads\/2022\/10\/image-75-1024x255.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"255\" data-original=\"https:\/\/qaqaq.top\/wp-content\/uploads\/2022\/10\/image-75-1024x255.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\" class=\"wp-image-1108\"  sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div><\/figure>\n\n\n\n<p>\u4e0a\u7f51\u627e\u4e86\u4e00\u4e0b, \u53c2\u8003: <a href=\"https:\/\/docs.oracle.com\/javase\/9\/docs\/api\/java\/math\/BigDecimal.html\">https:\/\/docs.oracle.com\/javase\/9\/docs\/api\/java\/math\/BigDecimal.html<\/a><\/p>\n\n\n\n<p>\u4ecejava9\u5c31\u4e0d\u63a8\u8350\u4f7f\u7528\u4e86.<\/p>\n\n\n\n<p>\u4fee\u6539\u65b9\u6848:<\/p>\n\n\n\n<p>\u5c06<code>BigDecimal.ROUND_HALF_UP<\/code>\u6539\u4e3a:<code>RoundingMode.HALF_UP<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u4e2d\u6d89\u53ca\u5230\u8ba1\u7b97\u91d1\u989d\u7684, \u90e8\u5206\u4ee3\u7801\u5982\u4e0b, \u7f16\u8bd1\u5668\u63d0\u793aROUND_HALF_UP is deprecated.  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[46],"class_list":["post-1107","post","type-post","status-publish","format-standard","hentry","category-java-","tag-java"],"_links":{"self":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/1107"}],"collection":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1107"}],"version-history":[{"count":2,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/1107\/revisions"}],"predecessor-version":[{"id":1110,"href":"https:\/\/qaqaq.top\/index.php?rest_route=\/wp\/v2\/posts\/1107\/revisions\/1110"}],"wp:attachment":[{"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qaqaq.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}