Skip to main content
15-Moonstone
March 13, 2015
Question

MathCad Prime 3.1 and units

  • March 13, 2015
  • 4 replies
  • 5328 views

Hello,

I have a problem with MathCad Prime 3.1 and units.

Example:

A: = 10 mm is good

B = .10 mm is not good, undefined variable.

C: = 0.10 mm is good

😧= .10 *mm is good.

3.1 premium not automatically recognize the units as before if we do not put that point before the value.

Best Regards.

Denis.

4 replies

1-Visitor
March 13, 2015

Prime 3.0 does that too. It appears that Prime doesn't handle the decimal point very well. When using a value with decimal point I typically multiply by the unit to avoid the mishap.

Norm

15-Moonstone
March 13, 2015

Hello,

I have not kept the Prime version 3.0 after making sure that the 3.1 foctionnait (perhaps wrongly).

With 3.0 I still was putting the point before the value.

I just take my files created with 3.0 and now I have my updated value with V = 0.35mm and not V: = .35mm only.

If one writes a value without unit .35 3.1 Prime said nothing.

Best Regards.

Denis.

1-Visitor
March 13, 2015

I don't have 3.1 to see what you are experiencing, but I need to use your example "D:=.10*mm" from your previous message in 3.0 or I get an error.

Norm

14-Alexandrite
March 13, 2015

In Prime 3.0 (I don't have 3.1 yet), the reason your Example B doesn't work is the lack of a leading zero. There is some argument in publishing circles about the use of the leading zero (see Math Forum - Ask Dr. Math and APA Style Blog: A Post About Nothing). However, I always use a leading zero for decimals less than one, even with hand calculations. It just makes the number easier to read and the decimal place more obvious. It appears that Prime agrees.

1-Visitor
March 13, 2015

You are probably right Fred, that makes sense...

Thanks for the information.

Sincerely,

Norm

24-Ruby IV
March 14, 2015

New type of variable in Prime

ntvar.png

10-Marble
April 18, 2015

The dot (.) is not an integer but a string character. Therefore, numerical value can't be started from the dot - must be preceded with number 0 (i.e., 0.).

19-Tanzanite
April 18, 2015

I agree that's what is happening, but it shouldn't matter that it's non-numeric (and in Mathcad 15, it doesn't). It's being written in a math region, and in a math region strings have to be in quotes. It's a bug. Fortunately, a minor one.