{"id":110,"date":"2022-11-19T17:10:46","date_gmt":"2022-11-19T17:10:46","guid":{"rendered":"https:\/\/savingscorner.in\/?page_id=110"},"modified":"2023-06-02T06:04:06","modified_gmt":"2023-06-02T06:04:06","slug":"future-value-calculator","status":"publish","type":"page","link":"https:\/\/savingscorner.in\/index.php\/future-value-calculator\/","title":{"rendered":"Future Value Calculator"},"content":{"rendered":"\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Future Value Calculator<\/title>\n  <style>\n    .container {\n      max-width: auto;\n      margin: 0 auto;\n      padding: 20px;\n      \/\/border: 1px solid #ccc;\n      border-radius: 5px;\n    }\n    .form-group {\n      margin-bottom: 10px;\n    }\n    .form-group label {\n      display: block;\n    }\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h2>Future Value Calculator<\/h2>\n    <div class=\"form-group\">\n      <label for=\"principal\">Principal Amount:<\/label>\n      <input type=\"number\" id=\"principal\" step=\"0.01\" required>\n    <\/div>\n    <div class=\"form-group\">\n      <label for=\"rate\">Annual Interest Rate:<\/label>\n      <input type=\"number\" id=\"rate\" step=\"0.01\" required>\n    <\/div>\n    <div class=\"form-group\">\n      <label for=\"years\">Number of Years:<\/label>\n      <input type=\"number\" id=\"years\" required>\n    <\/div>\n    <div class=\"form-group\">\n      <button onclick=\"calculateFutureValue()\">Calculate<\/button>\n    <\/div>\n    <div class=\"form-group\">\n      <label for=\"future-value\">Future Value:<\/label>\n      <input type=\"text\" id=\"future-value\" readonly>\n    <\/div>\n  <\/div>\n\n  <script>\n    function calculateFutureValue() {\n      var principal = parseFloat(document.getElementById('principal').value);\n      var rate = parseFloat(document.getElementById('rate').value);\n      var years = parseInt(document.getElementById('years').value);\n\n      var futureValue = principal * Math.pow(1 + (rate \/ 100), years);\n      document.getElementById('future-value').value = futureValue.toFixed(2);\n    }\n  <\/script>\n<\/body>\n<\/html>\n\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Future Value Calculator Future Value Calculator Principal Amount: Annual Interest Rate: Number of Years: Calculate Future Value:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-110","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/pages\/110","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/comments?post=110"}],"version-history":[{"count":25,"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/pages\/110\/revisions"}],"predecessor-version":[{"id":1193,"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/pages\/110\/revisions\/1193"}],"wp:attachment":[{"href":"https:\/\/savingscorner.in\/index.php\/wp-json\/wp\/v2\/media?parent=110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}