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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Translate the entire conversation x

Floating point evaluation and Units question

Iwona-disabled
1-Visitor

Floating point evaluation and Units question

I define x and y with units of feet. I let T equal to: x times y with float command at the end of it to control number of decimal points in my answer.

My question is, when I use the float command, it doesn't allow me to convert units of my answer by clicking on it and retyping the units I need. The answer always stays the same and units go back the units of ft.

Is there a way to use a symbolic floating point command and have the ability to change units?
5 REPLIES 5

>>Is there a way to use a symbolic floating point command and have the ability to change units?<<

No. The symbolic processor knows nothing about units, to it ft is just another undefined variable, to be handled symbolically.

If you want numeric answers (and changing units makes no sense otherwise) don't use the symbolic processor, use numeric evaluation. That will also result in calculations being done with about 16 digits of precision independently of how many places you choose to show in the results.
__________________
� � � � Tom Gutman

>The symbolic processor knows nothing about units.
But we can say to symbolic processor what it is units:

Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm

"The answer always stays the same and units go back the units of ft."
____________________________

I didn't touch your unit system and it returns both systems; the original one [like undefined] and it returns in the base default system of the work sheet ... you had SI. Even if the Unit System in Mathcad is like weeds in the garden and sometimes snake in the sofa, this time it work well.



jmG

>I define x and y with units of feet.
Sorry.
More correct say:
I define x and y with dimension of length.
Val
http://twt.mpei.ac.ru/ochkov/v_ochkov.htm

On 5/8/2010 2:25:47 AM, VFO wrote:
>>I define x and y with units of feet.
>Sorry.
>More correct say:
>I define x and y with
>dimension of length.
>Val
_______________________

As you say Val, many users don't catch much about unit system and using it.
A lost case in a lost world !



jmG

Announcements

Top Tags