Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
MathCAD Prime 7.0 is where my company is still stuck at, but it still has the very frustrating limitation/bug of not accepting decimal numbers without putting a leading zero before the decimal. It allows you to do this when calculating a number, but not when using units. Has this been fixed in subsequent versions?
It is frustrating not only from the standpoint that I never put leading zeros before a decimal, and never have, never do on any other program/software, and it's not a problem at any other time on any other software package I use (including MathCAD Prime 7.0) UNTIL I try to use units in the calculation. I have hundreds of worksheets where I have not used leading zeros and it used to calculate everything just fine, even with the use of units.
Maybe type an * (explicit multiplication) between the 2 and the i...
Success!
Luc
I can confirm that this behaviour has not changed in Prime 10.
As a workaround you may type an explicit multiplication (*) between the number and the unit as suggested by Luc or (for consistency) an implicit one which you get by pressing ctrl-shift-U.
BTW, Prime calls this implicit multiplication the "scaling operator".
@Werner_E wrote:
BTW, Prime calls this implicit multiplication the "scaling operator".
I've occasionally wondered why PTC called it the "scaling operator" or, to be more precise, why they gave it the functionality they did.
AFAICT, the "S-expression" associated with each maths region doesn't so much affect the nature of the calculation but rather the chosen display form. Certainly, the scaling operator scales scalars, but its prime(!) purpose seems to be to tell Mathcad not to draw a multiplication operator between terms that Mathcad is actually multiplying.
The Hadamard (element-by-element or vectorized) product would, IMO, have been a more mnemonic operation on arrays.
Stuart
The reason you can't type ".2in" is because the dot is a valid leading character in an identifier name.
When the number begins with 0, Mathcad Prime recognises a non-numerical character as the number string terminator (unless that character is an i or a j, in which case Mathcad interprets the number as imaginary).
Stuart
From the Mathcad Prime 10 Help: