{"id":1167,"date":"2022-09-28T12:40:04","date_gmt":"2022-09-28T12:40:04","guid":{"rendered":"https:\/\/edulab.unitn.it\/tecnici\/?p=1167"},"modified":"2022-09-28T12:40:04","modified_gmt":"2022-09-28T12:40:04","slug":"labview-e-il-punto-decimale","status":"publish","type":"post","link":"https:\/\/edulab.unitn.it\/tecnici\/labview-e-il-punto-decimale\/","title":{"rendered":"Labview e il punto decimale"},"content":{"rendered":"<p>I used the &#8216;Format Into String&#8217; function. Here I edited the format string into &#8216;%.3f;&#8217;, which means I tell labview to use a decimal point. But when I probe my formated string I see a &#8216;comma&#8217;.<\/p>\n<p>A few things:<\/p>\n<ul>\n<li>Your computer has a language setting that defines the comma as decimal point.<\/li>\n<li>Your LabVIEW installations is set to use localized decimal point, meaning the decision between comma and period depends on the language setting of the OS. (tools..options&#8230;front panel&#8230;general)<\/li>\n<li>You can also overwrite this in code, e.g. using <strong>&#8220;%.;%.3f&#8221;<\/strong> as format string. This will give you a period.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I used the &#8216;Format Into String&#8217; function. Here I edited the format string into &#8216;%.3f;&#8217;, which means I tell labview to use a decimal point. But when I probe my [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1167","post","type-post","status-publish","format-standard","hentry","category-how-to"],"_links":{"self":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/1167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/comments?post=1167"}],"version-history":[{"count":1,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/1167\/revisions"}],"predecessor-version":[{"id":1168,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/posts\/1167\/revisions\/1168"}],"wp:attachment":[{"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/media?parent=1167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/categories?post=1167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edulab.unitn.it\/tecnici\/wp-json\/wp\/v2\/tags?post=1167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}