{"id":4189,"date":"2016-07-29T23:38:30","date_gmt":"2016-07-29T23:38:30","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=4189"},"modified":"2016-08-04T17:45:51","modified_gmt":"2016-08-04T17:45:51","slug":"formatting-money-and-other-numbers","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/formatting-money-and-other-numbers\/","title":{"rendered":"Formatting Money and Other Numbers"},"content":{"rendered":"<p>Monetary values and other numbers are easily formatted with a procedure. After you format the numbers, you can set the Alignment property of the paragraph that contains the numbers. Numbers in a table are often aligned to the right so the decimal lines up for better readability.<\/p>\n<p><strong>Formatting Numbers<\/strong><\/p>\n<p>Monetary values are usually formatted in the U.S. with two decimal places and a comma to separate ones, thousands, millions, etc. Variables that contain numeric values can be formatted in many ways, but formatting monetary values is the most common. The following column has balance data to format:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4192 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance1-79x300.jpg\" alt=\"Balance1\" width=\"79\" height=\"300\" \/><\/p>\n<p>Complete the following steps to format the values as money:<\/p>\n<ol>\n<li>Determine the name of the variable to format. An easy way to get the variable name is to click on a value in the table &gt; Edit &gt; Value. The variable name is in the Variable field.<\/li>\n<li>Find the variable in the form&#8217;s list of variables, right click the variable &gt; Add Post-Condition Procedure &gt; Numeric Format:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4193 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2-300x157.jpg\" alt=\"Balance2\" width=\"300\" height=\"157\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2-300x157.jpg 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2-150x78.jpg 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2-250x130.jpg 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2-345x180.jpg 345w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance2.jpg 368w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Type a name for the procedure, select the variable from step 1 and click OK.<\/li>\n<li>In the Numeric Format window, set the following values or as required by your project.<br \/>\nDecimal Places: 2<br \/>\nDecimal Point Symbol: . (period)<br \/>\nGroup By Thousands: Checked<br \/>\nThousands Symbol: , (comma)<br \/>\nCurrency: Checked<br \/>\nCurrency Symbol: $ (dollar sign)<br \/>\nNegative Symbol: &#8211; (dash)<br \/>\nLeading negative symbol: Checked<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4199 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6-300x212.jpg\" alt=\"Balance6\" width=\"300\" height=\"212\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6-300x212.jpg 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6-150x106.jpg 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6-250x176.jpg 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6-255x180.jpg 255w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance6.jpg 357w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Click OK.<\/li>\n<li>Right click the name of the procedure from step 3 &gt; Add Action &gt; Set Variable &gt; select the variable name from step 1 and click OK.<\/li>\n<li>Save your project.<\/li>\n<\/ol>\n<p><strong>Right Alignment<\/strong><br \/>\nNumerical values, including money amounts, are usually aligned to the right in the column of a table. This horizontal alignment is a property of the paragraph that contains the data. The following steps align\u00a0numbers to the right:<\/p>\n<ol>\n<li>Find the paragraph that contains the data to align.<\/li>\n<li>Right click the paragraph &gt; Edit &gt; General and change Alignment to Right, and click OK.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4190 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign-300x177.png\" alt=\"RightAlign\" width=\"300\" height=\"177\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign-300x177.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign-150x89.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign-250x148.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign-305x180.png 305w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/RightAlign.png 393w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Adjust column widths if necessary. Changing the alignment might require some width adjustment.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4197 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance5-74x300.jpg\" alt=\"Balance5\" width=\"74\" height=\"300\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance5-74x300.jpg 74w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2016\/07\/Balance5-37x150.jpg 37w\" sizes=\"(max-width: 74px) 100vw, 74px\" \/><\/li>\n<li>Save your project.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monetary values and other numbers are easily formatted with a procedure. After you format the numbers, you can set the Alignment property of the paragraph that contains the numbers. Numbers in a table are often aligned to the right so the decimal lines up for better readability. Formatting Numbers Monetary values are usually formatted in [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4189"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=4189"}],"version-history":[{"count":7,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4189\/revisions"}],"predecessor-version":[{"id":4204,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4189\/revisions\/4204"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=4189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=4189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=4189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}