{"id":1319,"date":"2015-01-20T15:29:51","date_gmt":"2015-01-20T15:29:51","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=1319"},"modified":"2022-02-17T06:24:03","modified_gmt":"2022-02-17T06:24:03","slug":"making-values-localization-safe","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/localization-multi-language-support\/making-values-localization-safe","title":{"rendered":".Making Values Localization Safe"},"content":{"rendered":"<p>\nTo deal with values stored with decimal points or commas, etc depending on the location of a user, for all values (int, single, double, etc) don&#39;t use Convert::To# anywhere. &nbsp;Use ::Parse like this&nbsp;instead:\n<\/p>\n<pre>\r\n<code>\r\n = Int32::Parse(sTemp, System::Globalization::CultureInfo::InvariantCulture);\r\n<\/code><\/pre>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To deal with values stored with decimal points or commas, etc depending on the location of a user, for all values (int, single, double, etc) don&#39;t use Convert::To# anywhere. &nbsp;Use ::Parse like this&nbsp;instead: = Int32::Parse(sTemp, System::Globalization::CultureInfo::InvariantCulture); &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[105],"tags":[],"class_list":["post-1319","post","type-post","status-publish","format-standard","hentry","category-localization-multi-language-support"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1319","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=1319"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1319\/revisions"}],"predecessor-version":[{"id":1320,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1319\/revisions\/1320"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=1319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=1319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=1319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}