Skip to main content
1-Visitor
September 19, 2011
Solved

How to format units?

  • September 19, 2011
  • 5 replies
  • 8074 views

Hi Richard,

There is an expression in my calculation which is shown as following:

1.bmp

I want to format the result of P as the following pattern:

2.bmp

So I format the result as following steps:

  1. Select “Result” from “Format” menu.
  2. Select “Number Format” tab
  3. Select “Decimal” item from “Format” list
  4. Change the “Number of Decimal” from “3” to “2”
  5. Click on “Show trailing zeros”
  6. Select “Unit Display” tab
  7. Click on “Format units”
  8. Click on “Simplify units when possible”

But the result is shown as following:

3.bmp

Is it possible to remove the tailing zeros from “2.00” in the units? If possible, can you tell me the steps in detail?

Best regards.

Jeffery

Best answer by VladimirN

Hello!

You do not need to choose "Show trailing zeros".

Format.gif

5 replies

1-Visitor
September 19, 2011

I don't see your problem.

I have just defined P and manually type the units in and got the following.

Mike

VladimirN24-Ruby IIIAnswer
24-Ruby III
September 19, 2011

Hello!

You do not need to choose "Show trailing zeros".

Format.gif

JefferyGu1-VisitorAuthor
1-Visitor
September 21, 2011

Hi VladimirN.,

If the number before the unit is "0.4012", and I still want to keep 2 "Number of decimal", the result is shown as following:

But the result I want to get is shown as following:

4.bmp

Is there any way to keep the "0" after the number "0.4".

5.bmp

Best regards.

Jeffery.

24-Ruby III
September 21, 2011

In this case, use those units, which are offered by Mathcad.

Unit_Pressure.jpg

24-Ruby IV
September 19, 2011

Sorry.

Is P a pressure?

If yes - the unit of pressure is kgf/mm^2.

kg/mm^2 is a strange unit

Can you point me one physical quantity with this unit!

JefferyGu1-VisitorAuthor
1-Visitor
September 21, 2011

Hi Valery,

Thank you. I think there is no problem with the units.

1-Visitor
September 21, 2011
Thank you. I think there is no problem with the units.

To be honest I have to agree with Valery here. I have never seen kg/mm^2 used before. I would use kgf/mm^2.

Mike

JefferyGu1-VisitorAuthor
1-Visitor
September 21, 2011

Hi Mike,

Have you kept the "Show trailing zeros” checked?

Jeffery

12-Amethyst
September 21, 2011

Jeffery,

I looked at your test sheet, under Tools>Worksheet Options> Unit System, you have checked Custom units, based on SI,
Just curious why?

Also, if you look under Insert>Unit you will see a list of available units in the system you choose, in this case SI (even though Custom was selected)

For example, I would use MPa or KPa, instead of kgf/mm^2

Also, most users (I believe) like to check Format>Result>Unit Display> Format units

JefferyGu1-VisitorAuthor
1-Visitor
September 22, 2011

Hi friends,

Thanks and regards.

Jeffery

24-Ruby III
October 1, 2011

Jeffery,

Recently, Valery Ochkov has shown a solution of a problem, described earlier, here:

http://communities.ptc.com/docs/DOC-2211