SMath adds units at the end of the calculation

SMath adds units at the end of the calculation - 消息

#1 已发布: 2017/2/2 04:53:55
JJTTBB

JJTTBB

0个赞,共5个帖子。

组: User

未找到文件。未找到文件。

Hi... this is my first post here... Great work! Smath is fast and easy to learn.

There is a strange behaviour here... I try to calculate a simple cylinder section area. So Ab= pi*d^2/4
When I add the unit cm^2 , Smath adds 1/m2 * cm2 and no matter what I do, I can't change that... There is no variable in the calculation so no units



Another example

未找到文件。未找到文件。未找到文件。



Anyone know a solution for that?

Thank you in advance.
#2 已发布: 2017/2/2 05:32:55
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Hello [userlink]JJTTBB[/userlink],

This is not a bug. SMath checks that the unit you assign in the rightmost placeholder is consistent with the units given in the left hand side.

If your intent is just to display a result, or you want to make dimensionless calculations and assign manually the dimensions on the results, right click on the region and select "Ignore units", then this feature will be ignored

2017-02-02 09_28_10-SMath Studio - [Page1_].png


Otherwise you have to assign the units in the LHS, and eventually adjust the result (results are given in base units)

2017-02-02 09_29_10-SMath Studio - [Page1_].png


other informations about units: wiki
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2017/2/2 11:42:59
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Like this :

Unit.bmp
  • 有新帖
  • 无新帖