<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HubL syntax for currency property? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/777966#M33632</link>
    <description>&lt;P&gt;Thanks so much for the response. I think, however, that you are showing me how to format a number as currency in the output, not how to use a currency property in a conditional statement. When I use&amp;nbsp;&lt;SPAN&gt;{% if line_item.price == 0 %} there is no error in the code, but the deal-based automated email errors (template may not be found) and does not send.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 16:40:20 GMT</pubDate>
    <dc:creator>KimJ</dc:creator>
    <dc:date>2023-04-04T16:40:20Z</dc:date>
    <item>
      <title>HubL syntax for currency property?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/775693#M33523</link>
      <description>&lt;P&gt;I'm attempting to use a currency property in an if statement. Can anyone tell me what the proper syntax is for a currency property? I'm using the price property on line items. It does not seem to work when I treat it as an integer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% if line_item.price == 0 %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 16:37:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/775693#M33523</guid>
      <dc:creator>KimJ</dc:creator>
      <dc:date>2023-03-29T16:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: HubL syntax for currency property?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/775972#M33536</link>
      <description>&lt;P&gt;Hi KimJ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;U can use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set price = 1234.56 %}
{{ price|format_currency('USD', 'en-US') }}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:50:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/775972#M33536</guid>
      <dc:creator>TDwebdev</dc:creator>
      <dc:date>2023-03-30T07:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: HubL syntax for currency property?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/777966#M33632</link>
      <description>&lt;P&gt;Thanks so much for the response. I think, however, that you are showing me how to format a number as currency in the output, not how to use a currency property in a conditional statement. When I use&amp;nbsp;&lt;SPAN&gt;{% if line_item.price == 0 %} there is no error in the code, but the deal-based automated email errors (template may not be found) and does not send.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 16:40:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/777966#M33632</guid>
      <dc:creator>KimJ</dc:creator>
      <dc:date>2023-04-04T16:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: HubL syntax for currency property?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/778212#M33644</link>
      <description>&lt;P&gt;Can you share more snippet of your code, so i can see what you want to do.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 07:24:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubL-syntax-for-currency-property/m-p/778212#M33644</guid>
      <dc:creator>TDwebdev</dc:creator>
      <dc:date>2023-04-05T07:24:06Z</dc:date>
    </item>
  </channel>
</rss>

