{"id":4748,"date":"2017-03-16T22:59:38","date_gmt":"2017-03-16T22:59:38","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=4748"},"modified":"2017-03-16T22:59:38","modified_gmt":"2017-03-16T22:59:38","slug":"number-to-dollars-function","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/number-to-dollars-function\/","title":{"rendered":"Number to Dollars Function"},"content":{"rendered":"<p>As of eFORMz version\u00a011.08, there is a &#8220;Number to Dollars&#8221; function which converts a decimal amount to a\u00a0textual amount. There are two formats. The &#8220;Decimal Cents&#8221; currency type consists of the following syntax: written dollar amount + \u201cdollars\u201d + \u201cand\u201d + decimal cent amount. In this case, the value 2.22 would become \u201ctwo dollars and twenty two cents.\u201d The other format is the &#8220;Fractional Dollars&#8221; currency type. The syntax is: written dollar amount + \u201cand\u201d + fractional cent amount + \u201cdollars.\u201d In this instance, 2.22 would become \u201ctwo and 22\/100 dollars.\u201d<\/p>\n<p>1. First, right-click a\u00a0variable with a decimal value and select Add Advanced Function &gt; Number to Dollars.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-4750\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1.png\" alt=\"\" width=\"537\" height=\"554\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1.png 537w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1-291x300.png 291w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1-145x150.png 145w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1-250x258.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1-174x180.png 174w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-1-485x500.png 485w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/a><\/p>\n<p>2.\u00a0Select the currency type (DecimalCents or FractionalDollars).<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-4751\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2.png\" alt=\"\" width=\"416\" height=\"112\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2.png 416w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2-300x81.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2-150x40.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-2-250x67.png 250w\" sizes=\"(max-width: 416px) 100vw, 416px\" \/><\/a><\/p>\n<p>3.\u00a0The result can be seen in the Variables Window.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-4752\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3.png\" alt=\"\" width=\"406\" height=\"222\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3.png 406w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3-300x164.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3-150x82.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3-250x137.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-3-329x180.png 329w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><\/a> <a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-4753\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4.png\" alt=\"\" width=\"406\" height=\"219\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4.png 406w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4-300x162.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4-150x81.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4-250x135.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/03\/N2D-4-334x180.png 334w\" sizes=\"(max-width: 406px) 100vw, 406px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As of eFORMz version\u00a011.08, there is a &#8220;Number to Dollars&#8221; function which converts a decimal amount to a\u00a0textual amount. There are two formats. The &#8220;Decimal Cents&#8221; currency type consists of the following syntax: written dollar amount + \u201cdollars\u201d + \u201cand\u201d + decimal cent amount. In this case, the value 2.22 would become \u201ctwo dollars and [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[101],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4748"}],"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\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=4748"}],"version-history":[{"count":2,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4748\/revisions"}],"predecessor-version":[{"id":4754,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4748\/revisions\/4754"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=4748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=4748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=4748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}