How to add a format number in a python annotation?

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

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.