[SS-2300] Greater than Or Equal To

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

#1 Posted: 1/4/2017 2:00:05 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: 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 KiB) downloaded 44 time(s).
#2 Posted: 1/4/2017 2:29:09 PM
sergio

sergio

115 likes in 329 posts.

Group: 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 Posted: 1/4/2017 3:23:34 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 1/4/2017 4:54:00 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: 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 Posted: 1/4/2017 6:38:18 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: 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 KiB) downloaded 38 time(s).


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

Davide Carpi

1416 likes in 2873 posts.

Group: 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 Posted: 1/5/2017 9:25:13 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 users liked this post
Davide Carpi 1/5/2017 3:53:00 PM
  • New Posts New Posts
  • No New Posts No New Posts