Remove trailing zeros

I want to know how to remove trailing zeros from decimals. For example:

10.560 -> 10.56
3.200 -> 3.2
25.000 -> 25

Any ideas?

Comments

  • edited 5:47AM
    Hello,

    Set the Text object's formatting to "General" (it is "Currency" for decimals by default).

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.