[SS-2300] Greater than Or Equal To

[SS-2300] Greater than Or Equal To - If statement returns wrong value - Сообщения

#1 Опубликовано: 04.01.2017 14:00:05
Ryan Freund

Ryan Freund

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

Группа: User

It seems odd that I am finding this problem now. Maybe it is a recent bug. Or maybe I am doing something wrong?

Both statements should return b:=1 but when I add the unit of feet. There is a problem.

Any thoughts?

Thanks!Greater than or Equal to.sm (3 КиБ) скачан 44 раз(а).
#2 Опубликовано: 04.01.2017 14:29:09
sergio

sergio

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

Группа: User

It seems that it is a rounding problem in internal transformation of SMath from ft to m.
In fact, with x = 3.0001 ft the problem does not exist.

sergio
#3 Опубликовано: 04.01.2017 15:23:34
Davide Carpi

Davide Carpi

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

Группа: Moderator

it is SS-2300
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 04.01.2017 16:54:00
Ernesto

Ernesto

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

Группа: User

A workaround to that issue would be to divide by the units. It does not look elegant, but it is functional.


booleanfix.PNG
#5 Опубликовано: 04.01.2017 18:38:18
Ryan Freund

Ryan Freund

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

Группа: User

I'm not sure how I haven't noticed this before. Anyway, thanks!

Another Work Around:
Greater than or Equal to_2.sm (5 КиБ) скачан 38 раз(а).


What is the best way to post embedded photos on this site? Typically I use onedrive for storage (fyi).
#6 Опубликовано: 04.01.2017 20:19:46
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

What is the best way to post embedded photos on this site? Typically I use onedrive for storage (fyi).


Simply add an attachment, like for *.sm/*.smz files.

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Опубликовано: 05.01.2017 09:25:13
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

What is the best way to post embedded photos on this site?



1. You must be in the "Post reply" mode
2. Where you leave the cursor: click on the clip
"Insert an existing attachment or upload a new file"
look for it in your PC, double click, click "Post".

If you have multiple attachments at the end of your message,
keep adding. Before posting final, put the cursor after the
first attachment, press "Enter".it will pile down ...
keep doing that up until they are all piled down...Post final.

All that works for "images" Bug.gif and work sheets *.sm


1 пользователям понравился этот пост
Davide Carpi 05.01.2017 15:53:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений