<commit_before>---
category: visualizations
parent_category: user-guide
title: Formatting Numbers in Visualizations
toc: true
slug: formatting-numbers
---

In several Redash visualizations you can control how the numbers are formatted. You control the format by suppplying a format string. Below you can find examples for the various format options.

## Numbers

<div class="table table-striped">

| Number     | Format       | Output        |
| ---------- | ------------ | ------------- |
| 10000      | '0,0.0000'   | 10,000.0000   |
| 10000.23   | '0,0'        | 10,000        |
| 10000.23   | '+0,0'       | +10,000       |
| -10000     | '0,0.0'      | -10,000.0     |
| 10000.1234 | '0.000'      | 10000.123     |
| 100.1234   | '00000'      | 00100         |
| 1000.1234  | '000000,0'   | 001,000       |
| 10         | '000.00'     | 010.00        |
| 10000.1234 | '0[.]00000'  | 10000.12340   |
| -10000     | '(0,0.0000)' | (10,000.0000) |
| -0.23      | '.00'        | -.23          |
| -0.23      | '(.00)'      | (.23)         |<commit_msg>Typo fix: suppplying -> supplying (#576)<commit_after>---
category: visualizations
parent_category: user-guide
title: Formatting Numbers in Visualizations
toc: true
slug: formatting-numbers
---

In several Redash visualizations you can control how the numbers are formatted. You control the format by supplying a format string. Below you can find examples for the various format options.

## Numbers

<div class="table table-striped">

| Number     | Format       | Output        |
| ---------- | ------------ | ------------- |
| 10000      | '0,0.0000'   | 10,000.0000   |
| 10000.23   | '0,0'        | 10,000        |
| 10000.23   | '+0,0'       | +10,000       |
| -10000     | '0,0.0'      | -10,000.0     |
| 10000.1234 | '0.000'      | 10000.123     |
| 100.1234   | '00000'      | 00100         |
| 1000.1234  | '000000,0'   | 001,000       |
| 10         | '000.00'     | 010.00        |
| 10000.1234 | '0[.]00000'  | 10000.12340   |
| -10000     | '(0,0.0000)' | (10,000.0000) |
| -0.23      | '.00'        | -.23          |
| -0.23      | '(.00)'      | (.23)         |
{'fraction_non_alphanumeric': 0.18667917448405252, 'fraction_numerical': 0.18151969981238275, 'mean_word_length': 1.6695869837296622, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5215639', 'n_tokens_mistral': 1013, 'n_tokens_neox': 715, 'n_words': 180}