Units Question
|
07-16-2019, 10:18 PM
(This post was last modified: 07-16-2019 10:22 PM by Gene222.)
Post: #1
|
|||
|
|||
Units Question
Is there a way I can test to see if a variable has a unit attached to it?
I was using x:=UVAL(x); where I wanted to strip away the units. If x=5_m, then UVAL returns 5. If x=5 without any units attached, then UVAL returns an error message and it stops my program. I wanted to test x to see if it had units before using the UVAL command. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Units Question - Gene222 - 07-16-2019 10:18 PM
RE: Units Question - roadrunner - 07-17-2019, 12:24 AM
RE: Units Question - Gene222 - 07-17-2019, 01:14 AM
|
User(s) browsing this thread: 1 Guest(s)