{"id":77,"date":"2018-03-22T10:39:29","date_gmt":"2018-03-22T10:39:29","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?p=77"},"modified":"2018-04-02T17:57:33","modified_gmt":"2018-04-02T17:57:33","slug":"the-display-resolution-of-any-variable-can-be-changed-on-the-fly","status":"publish","type":"post","link":"https:\/\/cyflex.com\/index.php\/the-display-resolution-of-any-variable-can-be-changed-on-the-fly\/","title":{"rendered":"The display resolution of any variable can be changed &#8220;on the fly&#8221;"},"content":{"rendered":"<p>The display resolution of any variable can be changed &#8220;on the fly&#8221; in CyFlex, using the &#8220;change_res&#8221; command?<\/p>\n<p>The display resolution is the number of places to the right of the decimal point that are shown in utilities that print a formatted output. These include the operator display, &#8220;dumpit&#8221;, &#8220;fdump&#8221;, &#8220;gvar&#8221;, &#8220;datapoint&#8221;, and &#8220;floger&#8221;.<\/p>\n<p>In many cases, the user can select the resolution in a specification file, but some variables have a default resolution that can only be overridden by the by the &#8220;change_res&#8221; command. Note that changing the resolution with the &#8220;change_res&#8221; command is a temporary change, so if you wish to make it permanent, the command should be inserted near the end of the &#8220;go.scp&#8221; script file.<\/p>\n<p>Enter:<\/p>\n<p>change_res &lt;label1&gt; &lt;label2&gt; &lt;label3&gt; &#8230;. &lt;resolution&gt;<\/p>\n<p>Where:<\/p>\n<p>labelX = the label of a real, statistical, composition, or property variable<\/p>\n<p>resolution = the new format resolution (number of places to the right of decimal)<\/p>\n<p>Example:<\/p>\n<p>change_res exh_prt1_t exh_prt2_t exh_prt3_t my_var your_vr 2<\/p>\n<p>The above command sets the format to 2 places for each of the listed variables<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The display resolution of any variable can be changed &#8220;on the fly&#8221; in CyFlex, using the &#8220;change_res&#8221; command? The display resolution is the number of places to the right of the decimal point that are shown in utilities that print a formatted output. These include the operator display, &#8220;dumpit&#8221;, &#8220;fdump&#8221;, &#8220;gvar&#8221;, &#8220;datapoint&#8221;, and &#8220;floger&#8221;. In [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[16],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-did-you-know","tag-variables"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}