{"id":794,"date":"2012-02-24T18:04:53","date_gmt":"2012-02-24T18:04:53","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=794"},"modified":"2022-02-17T06:24:03","modified_gmt":"2022-02-17T06:24:03","slug":"converting-types","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/memory\/converting-types","title":{"rendered":"Converting Types"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h4>Convert::To<\/h4>\n<p>Single MySingle = Convert::ToSingle(SomeString);<\/p>\n<h4>Internationalization &#8211; IMPORTANT!!!<\/h4>\n<p>When converting from strings remember to deal with possible Internationalization issues for countries which use different characters, for instance like commas instead of decimal points &#8211; Convert::To doesn&#8217;t deal with this!<\/p>\n<p><a href=\"https:\/\/ibex.tech\/visualcpp\/programming\/visual-cpp-cli-dot-net\/strings\/value-internationalization-issues\">See here<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Convert::To Single MySingle = Convert::ToSingle(SomeString); Internationalization &#8211; IMPORTANT!!! When converting from strings remember to deal with possible Internationalization issues for countries which use different characters, for instance like commas instead of decimal points &#8211; Convert::To doesn&#8217;t deal with this! See here &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-794","post","type-post","status-publish","format-standard","hentry","category-memory"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=794"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/794\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/794\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}