{"id":14362,"date":"2023-10-25T10:44:35","date_gmt":"2023-10-25T08:44:35","guid":{"rendered":"https:\/\/andreaskalcker.com\/taschenrechner-test\/"},"modified":"2023-10-25T10:44:35","modified_gmt":"2023-10-25T08:44:35","slug":"taschenrechner-test","status":"publish","type":"page","link":"https:\/\/andreaskalcker.com\/de\/taschenrechner-test\/","title":{"rendered":"Taschenrechner-Test"},"content":{"rendered":"<div>\n<p><meta charset=\"UTF-8\"><br \/>\n<title>CDS-Rechner<\/title><\/p>\n<style>\n    body { font-family: Arial, sans-serif; }\n    .calculator { margin-top: 20px; }\n    #result { margin-top: 10px; }\n<\/style>\n<div class=\"calculator\">\n        <label for=\"cdsGrams\">Geben Sie die Grammzahl von CDS ein:<\/label><br \/>\n        <input type=\"number\" id=\"cdsGrams\" placeholder=\"CDS in Gramm\"><\/p>\n<p>        <label for=\"waterLiters\">F\u00fcgen Sie die Liter destilliertes Wasser hinzu:<\/label><br \/>\n        <input type=\"number\" id=\"waterLiters\" placeholder=\"Liter Wasser\"><\/p>\n<p>        <button onclick=\"calculatePPM()\">Berechnen Sie<\/button><\/p>\n<p>        <input type=\"text\" id=\"result\" placeholder=\"Ergebnis in PPM\" disabled>\n    <\/div>\n<p>    <script>\n        function calculatePPM() {\n            var cdsGrams = document.getElementById(\"cdsGrams\").value;\n            var waterLiters = document.getElementById(\"waterLiters\").value;<\/p>\n<p>            if (cdsGrams === '' || waterLiters === '') {\n                document.getElementById(\"result\").value = \"Por favor, completa ambos campos.\";\n                return;\n            }<\/p>\n<p>            cdsGrams = parseFloat(cdsGrams);\n            waterLiters = parseFloat(waterLiters);<\/p>\n<p>            if (isNaN(cdsGrams) || isNaN(waterLiters)) {\n                document.getElementById(\"result\").value = \"Entradas no v\u00e1lidas. Aseg\u00farate de introducir n\u00fameros.\";\n                return;\n            }<\/p>\n<p>            \/\/ Calculamos los PPM\n            var ppm = (cdsGrams * 3000) \/ (3 * waterLiters);<\/p>\n<p>            \/\/ Mostramos solo los PPM en el resultado\n            document.getElementById(\"result\").value = ppm.toFixed(2) + \" PPM\";\n        }\n    <\/script><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CDS-Rechner Geben Sie die Grammzahl von CDS ein: F\u00fcgen Sie die Liter destilliertes Wasser hinzu: Berechnen Sie<\/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-14362","page","type-page","status-publish"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.2 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Taschenrechner-Test - Andreas Kalcker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/andreaskalcker.com\/calculadora-test\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Taschenrechner-Test\" \/>\n<meta property=\"og:description\" content=\"CDS-Rechner Geben Sie die Grammzahl von CDS ein: F\u00fcgen Sie die Liter destilliertes Wasser hinzu: Berechnen Sie\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andreaskalcker.com\/calculadora-test\/\" \/>\n<meta property=\"og:site_name\" content=\"Andreas Kalcker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/andreaskalcker.com\/calculadora-test\/\",\"url\":\"https:\/\/andreaskalcker.com\/calculadora-test\/\",\"name\":\"Taschenrechner-Test - Andreas Kalcker\",\"isPartOf\":{\"@id\":\"https:\/\/andreaskalcker.com\/#website\"},\"datePublished\":\"2023-10-25T08:44:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/andreaskalcker.com\/calculadora-test\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andreaskalcker.com\/calculadora-test\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andreaskalcker.com\/calculadora-test\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/andreaskalcker.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Taschenrechner-Test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andreaskalcker.com\/#website\",\"url\":\"https:\/\/andreaskalcker.com\/\",\"name\":\"Andreas Kalcker\",\"description\":\"Official website\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andreaskalcker.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Taschenrechner-Test - Andreas Kalcker","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/andreaskalcker.com\/calculadora-test\/","og_locale":"de_DE","og_type":"article","og_title":"Taschenrechner-Test","og_description":"CDS-Rechner Geben Sie die Grammzahl von CDS ein: F\u00fcgen Sie die Liter destilliertes Wasser hinzu: Berechnen Sie","og_url":"https:\/\/andreaskalcker.com\/calculadora-test\/","og_site_name":"Andreas Kalcker","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andreaskalcker.com\/calculadora-test\/","url":"https:\/\/andreaskalcker.com\/calculadora-test\/","name":"Taschenrechner-Test - Andreas Kalcker","isPartOf":{"@id":"https:\/\/andreaskalcker.com\/#website"},"datePublished":"2023-10-25T08:44:35+00:00","breadcrumb":{"@id":"https:\/\/andreaskalcker.com\/calculadora-test\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andreaskalcker.com\/calculadora-test\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andreaskalcker.com\/calculadora-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/andreaskalcker.com\/"},{"@type":"ListItem","position":2,"name":"Taschenrechner-Test"}]},{"@type":"WebSite","@id":"https:\/\/andreaskalcker.com\/#website","url":"https:\/\/andreaskalcker.com\/","name":"Andreas Kalcker","description":"Official website","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andreaskalcker.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"}]}},"_links":{"self":[{"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/pages\/14362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/comments?post=14362"}],"version-history":[{"count":0,"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/pages\/14362\/revisions"}],"wp:attachment":[{"href":"https:\/\/andreaskalcker.com\/de\/wp-json\/wp\/v2\/media?parent=14362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}