Distance Tool - Displaying Trailing Zeros

Please post any ideas or requests for new features here for the End User Version of PDF-XChange (printer Drivers)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange, Tracker - Clarion Support, John - Tracker Supp, Support Staff, moderators

Craig D
User
Posts: 4
Joined: Wed Aug 20, 2025 12:25 am

Distance Tool - Displaying Trailing Zeros

Post by Craig D »

Can the distance tool (Dimension Line in Comment Styles Palette) be updated with a setting that will show trailing zeroes?

See below; a measurement that has 53.01m displays as such, yet if the measurement is 53m exactly, it displays as 53m - I want it to display as 53.00m.
image.png
You do not have the required permissions to view the files attached to this post.
User avatar
Sean - PDF-XChange
Site Admin
Posts: 821
Joined: Wed Sep 14, 2016 5:42 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Sean - PDF-XChange »

Hi Craig,

I'm afraid that's not possible.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
Willy Van Nuffel
User
Posts: 2824
Joined: Wed Jan 18, 2006 12:10 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Willy Van Nuffel »

Hi all,

If you like, you can use Mathew's javascript tool "Change Dimension Text":
See: viewtopic.php?t=40797

Result:
°
PDF-XChange Editor - Change Dimension Text - Javascript tool.png
°
Kind regards.
You do not have the required permissions to view the files attached to this post.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12553
Joined: Wed Jan 03, 2018 6:52 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Daniel - PDF-XChange »

Hello,

Thank you for the suggestion Willy,
It is important to note that this tool will change the initial visual state of the measure, but if you adjust it later on in any PDF software, it may revert back to the original display values due to the "calculated display value" of the PDF Specifications measurement comments.

If you do make use of this tool, do be sure that you are certain you do not need to change the measurement in the future, or be aware if you need to, that you may need to re-use this tool after the fact.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Craig D
User
Posts: 4
Joined: Wed Aug 20, 2025 12:25 am

Re: Distance Tool - Displaying Trailing Zeros

Post by Craig D »

Thanks all. Was hoping to achieve this within the software, rather than using an add on, as I have a large number of users and need to make deployment as simple as possible.

Would have been great to have this function, similar to AutoCAD, Excel etc; but if it's not possible, so be it.
Willy Van Nuffel
User
Posts: 2824
Joined: Wed Jan 18, 2006 12:10 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Willy Van Nuffel »

@PDF-XChange Support
We may just wonder : what is the behavior for this in Ad*be Acr*bat ?
Do they offer settings for trailing zeros ?

Thanks in advance.
User avatar
Sean - PDF-XChange
Site Admin
Posts: 821
Joined: Wed Sep 14, 2016 5:42 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Sean - PDF-XChange »

Hi Craig,

I would recommend getting the free version of PDF-XChange Editor and testing out the features, including adding Mathew's tool for adjusting tool measurements - you may find it is much simpler to do and roll out than you think. You can download the free version here:

https://www.pdf-xchange.com/product/pdf-xchange-editor

by simply clicking the download link and selecting the zipped installer.

Willy - yes, this is possible in that software.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
Mathew
User
Posts: 784
Joined: Thu Jun 19, 2014 7:30 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Mathew »

Sean - PDF-XChange wrote: Tue Mar 03, 2026 11:55 am Hi Craig,

I'm afraid that's not possible.

Kind regards,
Hi Sean,
I'm a bit confused by this and maybe I'm not understanding the question.

For engineering it's very common to show trailing zeros to clarify the precision of a measurement. The measure setting already has the option to set the precision. From an engineer's perspective the default should be to show the trailing zeros rather than drop them, with the option to be dropping them. Seems to me it's not a complicated ask. In javascript

Code: Select all

util.printf("%.2f", 53);
//53.00
Or maybe @Craig D was asking to change the length of the measurement to exactly 53.00? In that case, my tool is the way to go: There's an option for the tool to change the length to the number you enter.
image.png
image(1).png
Mathew.
You do not have the required permissions to view the files attached to this post.
User avatar
Sean - PDF-XChange
Site Admin
Posts: 821
Joined: Wed Sep 14, 2016 5:42 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Sean - PDF-XChange »

Hi Mathew,

Yes - I believe Craig wanted it to show .00 exactly - I just meant that it was not possible by default (but of course can be done with your tool).

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
User avatar
Sean - PDF-XChange
Site Admin
Posts: 821
Joined: Wed Sep 14, 2016 5:42 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Sean - PDF-XChange »

Update - this feature has been added to the software and will be available in an upcoming build.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
Sunilkumar
User
Posts: 3
Joined: Sat Mar 14, 2026 10:27 am

Re: Distance Tool - Displaying Trailing Zeros

Post by Sunilkumar »

What are the Common Approaches that can Display Trailing zeros?
User avatar
Sean - PDF-XChange
Site Admin
Posts: 821
Joined: Wed Sep 14, 2016 5:42 pm

Re: Distance Tool - Displaying Trailing Zeros

Post by Sean - PDF-XChange »

Hi Sunilkumar,

Can you please clarify what you mean?

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623