---
title: Formatting options for text
description: Set formatting for text, numbers, percents, dates, & currency values
---

[Skip to content](https://helpcenter.slideform.co/formatting-options-for-text-pragmas#main-content)

English

Show submenu for translations

![Slideform\_logo\_master-1.png\]](https://helpcenter.slideform.co/hs-fs/hubfs/Slideform_logo_master-1.png?width=50&height=50&name=Slideform_logo_master-1.png)

- [Home](https://slideform.co/index.html)
- [Integrations](https://slideform.co/integrations.html)
- [Pricing](https://slideform.co/solutions.html)
- [Blog](https://slideform.co/blog/)
- [Log In](https://app.slideform.co/)

Open main navigation

Close main navigation

- [Home](https://slideform.co/index.html)
- [Integrations](https://slideform.co/integrations.html)
- [Pricing](https://slideform.co/solutions.html)
- [Blog](https://slideform.co/blog/)
- [Log In](https://app.slideform.co/)
- English
  
  Show submenu for translations
- [Go to slideform.co](http://slideform.co/)

[Go to slideform.co](http://slideform.co/?hsLang=en)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Slideform Help Center](https://helpcenter.slideform.co/?hsLang=en)
2. [Data Sources](https://helpcenter.slideform.co/data-sources?hsLang=en)
3. [Advanced Data Source Configuration](https://helpcenter.slideform.co/data-sources?hsLang=en#advanced-data-source-configuration)

# Formatting options for text

## Set formatting for text, numbers, percents, dates, & currency values

Slideform supports a wide variety of options to format values in a text box in your slides. These are available in the formatting dropdown for each text pragma on the Configure Data page.![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-10%20at%2012-12-29%E2%80%AFPM-png.png?width=300&height=318&name=Screenshot%202025-03-10%20at%2012-12-29%E2%80%AFPM-png.png)

#### **Formatting options:**

- **No Formatting (default):** no formatting will be applied
- **Link:** The text will be formatted as a clickable link. If the text is a URL, then it will go to that URL, otherwise, preset a value and enter the link URL in the Embed a Link section.
- **Currency:** Select the currency type and rounding options. [Example below](https://helpcenter.slideform.co/formatting-options-for-text-pragmas#currency_example).
- **Number**: Select decimal places to display.
- **Percent:** Select decimal places to display.
- **Business:** This option is an abbreviated format for large numbers, such as **12K**. Select the decimal places to display.
- **Date:** Select from a variety of date and time formats.
- **Title:** This option formats the text in title case, with each word capitalized.
- **Conditional:** This option allows you to change the color of text dynamically or to substitute words (such as "increase" or "decrease") depending on a condition. [Example below](https://helpcenter.slideform.co/formatting-options-for-text-pragmas#conditional_example).

---

### **Examples:**

#### **Currency:**

For prices for example, you may want to add a dollar sign.

```
Price: {{monthly price}}
```

Select the appropriate currency from the dropdown as shown.

![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202024-04-09%20at%203-43-06%20PM-png.png?width=285&height=151&name=Screenshot%202024-04-09%20at%203-43-06%20PM-png.png)

```
Price: $450.00
```

#### **Conditional Formatting:**

To control the text color and content dynamically, use conditional formatting. Here is an example text box.

![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-12%20at%202-00-55%E2%80%AFPM-png.png?width=250&height=165&name=Screenshot%202025-03-12%20at%202-00-55%E2%80%AFPM-png.png)![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-12%20at%202-00-14%E2%80%AFPM-png.png?width=250&height=165&name=Screenshot%202025-03-12%20at%202-00-14%E2%80%AFPM-png.png)

```
Pragma variables:{{impressions}} - the number of impressions{{imp_change}} - the amount of change compared to a prior period
```

**Text Color:**

Set conditional formatting on  {{imp\_change}}, so that a decrease in this metric will be shown in **red** and an increase will be in **green**. The conditions are shown below:

![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-10%20at%2012-36-24%E2%80%AFPM-png.png?width=300&height=354&name=Screenshot%202025-03-10%20at%2012-36-24%E2%80%AFPM-png.png)

**Conditional Text Content:**

Set conditional formatting on {{imp\_change}} so that text can be added based on the value of a pragma.

If {{imp\_change}} is positive,  show the words "Increased by" before the percent change value. 

If {{imp\_change}} is negative, show the words "Decreased by" before the percent change value. 

The syntax of the **Update text** action is as shown below:

![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-12%20at%201-53-00%E2%80%AFPM-png.png?width=300&height=298&name=Screenshot%202025-03-12%20at%201-53-00%E2%80%AFPM-png.png)

Include the desired text and the pragma value will be filled into the curly braces {}. Please note that it is a single curly brace, not double like for a pragma in the template :)

To control number formatting while applying conditional formatting, use the following syntax inside the **Update text** box:

- Display a percent with two decimal places- {:.2%}
- Display a percent with no decimal places- {:.0%}
- Display two decimal places and add a thousand comma- {:,.2f}

Here's the output when we generate the report:

![](https://helpcenter.slideform.co/hs-fs/hubfs/Screenshot%202025-03-12%20at%201-55-34%E2%80%AFPM-png.png?width=300&height=190&name=Screenshot%202025-03-12%20at%201-55-34%E2%80%AFPM-png.png)

 

Contact support@slideform.co with any questions!

 

- [Getting started](https://helpcenter.slideform.co/getting-started?hsLang=en#main-content)

    - [Pull data from a Dashboard](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-dashboard)
    - [Pull data from a Spreadsheet](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-spreadsheet)
    - [Pull data from a CRM](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-crm)
    - [Pull data from a Database](https://helpcenter.slideform.co/getting-started?hsLang=en#pull-data-from-a-database)
- [Data Sources](https://helpcenter.slideform.co/data-sources?hsLang=en#main-content)

    - [Data Source Setup](https://helpcenter.slideform.co/data-sources?hsLang=en#data-source-setup)
    - [Advanced Data Source Configuration](https://helpcenter.slideform.co/data-sources?hsLang=en#advanced-data-source-configuration)
- [Templates](https://helpcenter.slideform.co/templates?hsLang=en#main-content)

    - [Create a template](https://helpcenter.slideform.co/templates?hsLang=en#create-a-template)
    - [Manage templates](https://helpcenter.slideform.co/templates?hsLang=en#manage-templates)
- [Projects](https://helpcenter.slideform.co/projects?hsLang=en#main-content)

    - [Output Settings](https://helpcenter.slideform.co/projects?hsLang=en#output-settings)
    - [Bulk Mode](https://helpcenter.slideform.co/projects?hsLang=en#bulk-mode)
- [Account](https://helpcenter.slideform.co/account?hsLang=en#main-content)

    - [Personal account settings](https://helpcenter.slideform.co/account?hsLang=en#personal-account-settings)
    - [Admin settings](https://helpcenter.slideform.co/account?hsLang=en#admin-settings)
- [AI Analyst](https://helpcenter.slideform.co/ai-analyst?hsLang=en)

- [Home](https://slideform.co/index.html)
- [Blog](https://slideform.co/blog/)
- [Help Center](https://helpcenter.slideform.co/)
- [Security](https://trust.slideform.co/)
- [Terms of Service](https://slideform.co/terms.html)
- [Privacy](https://slideform.co/privacy.html)

[![slideform logo](https://helpcenter.slideform.co/hs-fs/hubfs/Slideform_logo_text_black.png?width=223&height=50&name=Slideform_logo_text_black.png "slideform logo")](https://slideform.co?hsLang=en)

slideform.co Help Center

Copyright © 2025, Slideform Inc.