SMath adds units at the end of the calculation

SMath adds units at the end of the calculation - Messages

#1 Posted: 2/2/2017 4:53:55 AM
JJTTBB

JJTTBB

0 likes in 5 posts.

Group: User

File not found.File not found.

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

File not found.File not found.File not found.



Anyone know a solution for that?

Thank you in advance.
#2 Posted: 2/2/2017 5:32:55 AM
Davide Carpi

Davide Carpi

1415 likes in 2873 posts.

Group: 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 Posted: 2/2/2017 11:42:59 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Like this :

Unit.bmp
  • New Posts New Posts
  • No New Posts No New Posts