[SS-2300] Greater than Or Equal To

[SS-2300] Greater than Or Equal To - If statement returns wrong value - 消息

#1 已发布: 2017/1/4 14:00:05
Ryan Freund

Ryan Freund

20个赞,共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.7 KiB)已下载 1295 次。
#2 已发布: 2017/1/4 14:29:09
sergio

sergio

127个赞,共342个帖子。

组: 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 已发布: 2017/1/4 15:23:34
Davide Carpi

Davide Carpi

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

组: 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 已发布: 2017/1/4 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 已发布: 2017/1/4 18:38:18
Ryan Freund

Ryan Freund

20个赞,共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.28 KiB)已下载 1318 次。


What is the best way to post embedded photos on this site? Typically I use onedrive for storage (fyi).
#6 已发布: 2017/1/4 20:19:46
Davide Carpi

Davide Carpi

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

组: 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 已发布: 2017/1/5 09:25:13
Jean Giraud

Jean Giraud

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

组: 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 2017/1/5 15:53:00
  • 有新帖
  • 无新帖