# How to add a format number in a python annotation?

**URL:** https://discourse.paraview.org/t/how-to-add-a-format-number-in-a-python-annotation/2304
**Category:** ParaView Support
**Tags:** exodus
**Created:** [July 25, 2019, 10:56pm UTC](https://discourse.paraview.org/t/how-to-add-a-format-number-in-a-python-annotation/2304 "2019-07-25T22:56:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mariana\_Rodriguez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mariana_rodriguez/32/1668_2.png) [@Mariana\_Rodriguez](https://discourse.paraview.org/u/Mariana_Rodriguez)
#### Post date: [July 25, 2019, 10:56pm UTC](https://discourse.paraview.org/t/how-to-add-a-format-number-in-a-python-annotation/2304/1 "2019-07-25T22:56:02Z")

</div>

Hello,

How can edit the format of a variable defined in a python annotation?

For instance I want to display pressure but with only one decimal.  
How can I do this?  
So far, Paraview shows the entire pressure number, with several decimals.

Thank you,  
Mariana

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [July 25, 2019, 11:13pm UTC](https://discourse.paraview.org/t/how-to-add-a-format-number-in-a-python-annotation/2304/2 "2019-07-25T23:13:50Z")

</div>

Since I don’t use this filter (but probably should), and for reference here on Discourse, let me just point you at the documentation.

See the ParaView Guide, section 17.2.5. Format controls are found there.

One easy way to find the ParaView guide is run ParaView then look at the Help menu. It’s the second menu option.
