SMath adds units at the end of the calculation

SMath adds units at the end of the calculation - Сообщения

#1 Опубликовано: 02.02.2017 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 Опубликовано: 02.02.2017 05:32:55
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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 Опубликовано: 02.02.2017 11:42:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Like this :

Unit.bmp
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений