{"id":515,"date":"2005-03-15T00:57:43","date_gmt":"2005-03-14T22:57:43","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=515"},"modified":"2005-03-15T00:57:43","modified_gmt":"2005-03-14T22:57:43","slug":"o_m_o","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2005\/03\/o_m_o\/","title":{"rendered":"O.M.O."},"content":{"rendered":"<p>Today (well, actually yesterday) I started programming on a little application to practice calculations like:<\/p>\n<p>0,1 m   = &#8230; cm<br \/>\n100 cm3 = &#8230; dm3<\/p>\n<p>The basic checking routine is there, now I need to create some sort of database that stores &#8220;unit1&#8221;, &#8220;unit2&#8221; and the &#8220;factor&#8221;, e.q. &#8220;m&#8221;, &#8220;cm&#8221;, &#8220;100&#8221;. I could make it very flexible by storing  the factors for m(illi), c(enti), d(eci), M(ega), G(iga), but that would also mean some sort of stringmanipulation. The way I choose is flexible enough without loosing its simplicity. Also, I can now have &#8220;dozen&#8221;, &#8220;pieces&#8221;, &#8220;12&#8221; as a record.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today (well, actually yesterday) I started programming on a little application to practice calculations like: 0,1 m = &#8230; cm 100 cm3 = &#8230; dm3 The basic checking routine is there, now I need to create some sort of database that stores &#8220;unit1&#8221;, &#8220;unit2&#8221; and the &#8220;factor&#8221;, e.q. &#8220;m&#8221;, &#8220;cm&#8221;, &#8220;100&#8221;. I could make it <a href='https:\/\/www.switchbl8.nl\/blog\/2005\/03\/o_m_o\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,8],"tags":[],"class_list":["post-515","post","type-post","status-publish","format-standard","hentry","category-delphi","category-development","category-41-id","category-8-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=515"}],"version-history":[{"count":0,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/515\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}