1.174 FAQ-841 How do I trim unnecessary zero at integer tick labels?

Last Update: 12/18/2017

Origin would show "0" at the end of integer tick labels to indicate the precision. If you don't want such "0" in integer tick labels:

  1. Double click on the axis to open the Axis dialog.
  2. Go to the Tick Labels tab], and then Format sub-tab. Set Display to Custom and then set Custom Format to *
    QH Trim Zero 01.png

Note: You can combine * at the end of other syntax.

  • .1* means keep 1 decimal places and trim unnecessary zeros
  • *2* means keep two significant digits and trim unnecessary zeros

Keywords:significant digit, label, axes, unnecessary zero

Minimum Origin Version Required: 9.1