{"id":16480140,"date":"2023-02-17T09:44:41","date_gmt":"2023-02-17T09:44:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/manual-order-shipping-tax-rate-not-rounding-correctly\/"},"modified":"2023-02-17T09:44:41","modified_gmt":"2023-02-17T09:44:41","slug":"manual-order-shipping-tax-rate-not-rounding-correctly","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/manual-order-shipping-tax-rate-not-rounding-correctly\/","title":{"rendered":"Manual order shipping tax rate not rounding correctly."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi there,<br \/>I&#8217;ve noticed that the tax rate for shipping when creating a manual order doesn&#8217;t round up correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example I have a shipping amount of $12 and a tax rate of 15%.<br \/>The shipping price is therefore $10.43, with the tax $1.5645&#8230; this should round up to $1.57, but instead calculates to $1.56.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This issue is specific to shipping only, the products in the same order can be entered with upto 6 decimals and they are rounded correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there a fix available for this, or am I doing something wrong?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for your help!<\/p>\n","protected":false},"template":"","class_list":["post-16480140","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16480140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16480140\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16480140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}