{"id":9246,"date":"2018-03-02T19:29:00","date_gmt":"2018-03-02T13:59:00","guid":{"rendered":"http:\/\/drtktopecollege.in\/?p=3207"},"modified":"2018-03-02T19:29:00","modified_gmt":"2018-03-02T13:59:00","slug":"taxcal","status":"publish","type":"post","link":"https:\/\/drtktopecollege.in\/?p=9246","title":{"rendered":"taxcal"},"content":{"rendered":"<p>\/* Function to calculate Income tax<\/p>\n<p>input is taxable income.<\/p>\n<p>Function created on 3rd September 2014<br \/>\nFunction created by Shubharaj Buwa<\/p>\n<p>*\/<\/p>\n<p>function tax(input) {<\/p>\n<p>if (input &lt; 250001) {<\/p>\n<p>return &#8220;0&#8221;;<\/p>\n<p>}<\/p>\n<p>else if (input &gt; 250000 &amp;&amp; input &lt; 500001) {<\/p>\n<p>return ((input &#8211; 250000)* 5 \/100);<\/p>\n<p>}<\/p>\n<p>else if (input &gt; 500000 &amp;&amp; input &lt; 1000001) {<\/p>\n<p>return ((input-500000) * 20\/100)+12500 ;<\/p>\n<p>}<\/p>\n<p>else if (input &gt; 1000000) {<\/p>\n<p>return ((input &#8211; 1000000) * 30\/100) + 112500;<\/p>\n<p>}<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* Function to calculate Income tax input is taxable income. Function created on 3rd September 2014 Function created by Shubharaj Buwa *\/ function tax(input) { if (input &lt; 250001) { return &#8220;0&#8221;; } else if (input &gt; 250000 &amp;&amp; input &lt; 500001) { return ((input &#8211; 250000)* 5 \/100); } else if (input &gt; 500000&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[113],"tags":[],"class_list":["post-9246","post","type-post","status-publish","format-standard","hentry","category-income-tax"],"_links":{"self":[{"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=\/wp\/v2\/posts\/9246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9246"}],"version-history":[{"count":0,"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=\/wp\/v2\/posts\/9246\/revisions"}],"wp:attachment":[{"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drtktopecollege.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}