Is it a bug? The vector V must have an unit m!
Solved! Go to Solution.
It's a bug. It should either:
- accept units in its argument but then also return units in the result
- Not accept units in its arguments, and return none (as Mathcad 11 does).
Luc
Default length is meters. Numbers scale, but it seems to have stripped the units off. A possible fix
Thanks, Fred.
But is it a bug! Prime must have units in all tools!
It's a bug. It should either:
- accept units in its argument but then also return units in the result
- Not accept units in its arguments, and return none (as Mathcad 11 does).
Luc
LucMeekes wrote:
It's a bug. It should either:
- accept units in its argument but then also return units in the result
- Not accept units in its arguments, and return none (as Mathcad 11 does).
I suppose a compromise is out of the question, then, Luc?
Stuart
Ah, I guess my description was missing something: in between "return units" there should have been a "those ".
No, your function apparently does this....
I think that replacing "return units" with "check them for consistency and return those units" would completely cover the rule, assuming that throwing an error in case units are inconsistent speaks for itself....