cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Get % in Answer

ppal
17-Peridot

Get % in Answer

ppal_1-1722898646565.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:ppal)

Simply implementing the percentage as a unit factor, as we were used to, seemed to have been too simple, comfortable and intuitive for PTC.
Its a number format option in Prime.

Werner_E_2-1722901713514.png

 

In Mathcad when you typed % you got a predefined constant (0.01) which was then used as a factor when defining a variable and so it also could be used in the unit placeholder.

When we type % in Prime it looks like we get a predefined function in postfix notation which multiplies its argument by 0.01, but being a function it can't be used in the unit placeholder.

 

You could define % as a constant but you would have to use the trick with the "" to be able to create % as a variable name and therefore you still would not be able to just type % in the unit placeholder, you would have to copy the created variable name which is even more hassle than to use the  format menu.

Werner_E_0-1722902227001.png

There is also a difference in appearance when using the latter method - there is a larger space between the number and the %  character because of the hidden implicit multiplication character in between.  Sometimes this may be preferred.

 

 

View solution in original post

1 REPLY 1
Werner_E
24-Ruby V
(To:ppal)

Simply implementing the percentage as a unit factor, as we were used to, seemed to have been too simple, comfortable and intuitive for PTC.
Its a number format option in Prime.

Werner_E_2-1722901713514.png

 

In Mathcad when you typed % you got a predefined constant (0.01) which was then used as a factor when defining a variable and so it also could be used in the unit placeholder.

When we type % in Prime it looks like we get a predefined function in postfix notation which multiplies its argument by 0.01, but being a function it can't be used in the unit placeholder.

 

You could define % as a constant but you would have to use the trick with the "" to be able to create % as a variable name and therefore you still would not be able to just type % in the unit placeholder, you would have to copy the created variable name which is even more hassle than to use the  format menu.

Werner_E_0-1722902227001.png

There is also a difference in appearance when using the latter method - there is a larger space between the number and the %  character because of the hidden implicit multiplication character in between.  Sometimes this may be preferred.

 

 

Top Tags