Skip to main content
Contributor I
April 12, 2023
Solved

price score

  • April 12, 2023
  • 1 reply
  • 134 views
How can I eliminate the decimals that appear in the prices of the products of the dynamic catalogs that I use in the imails
    This topic has been closed for replies.
    Best answer by Spark Bridge Digital LLC

    Hey there!

    You can add onto your price variable, a variable filter, such as |floatformat:0 will limit the number of decimal points the variable will show to zero! So it’ll look something like: {{ your_variable|floatformat:0 }}

    Here is the Klaviyo Variable Glossary that helps break it down further as well as other helpful ones to use in your emails: https://help.klaviyo.com/hc/en-us/articles/360058466052-Glossary-of-Variable-Filters

    1 reply

    Spark Bridge Digital LLC
    Partner - Platinum
    2025 Champion
    April 12, 2023

    Hey there!

    You can add onto your price variable, a variable filter, such as |floatformat:0 will limit the number of decimal points the variable will show to zero! So it’ll look something like: {{ your_variable|floatformat:0 }}

    Here is the Klaviyo Variable Glossary that helps break it down further as well as other helpful ones to use in your emails: https://help.klaviyo.com/hc/en-us/articles/360058466052-Glossary-of-Variable-Filters

    Klaviyo Champion | Your Email Marketing BFF