[SS-2300] Greater than Or Equal To

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

#1 Pubblicato: 04/01/2017 14:00:05
Ryan Freund

Ryan Freund

20 apprezzamenti in 339 post.

Gruppo: 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) scaricato 1284 volta(e).
#2 Pubblicato: 04/01/2017 14:29:09
sergio

sergio

127 apprezzamenti in 342 post.

Gruppo: 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 Pubblicato: 04/01/2017 15:23:34
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 04/01/2017 16:54:00
Ernesto

Ernesto

13 apprezzamenti in 74 post.

Gruppo: 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 Pubblicato: 04/01/2017 18:38:18
Ryan Freund

Ryan Freund

20 apprezzamenti in 339 post.

Gruppo: 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) scaricato 1307 volta(e).


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

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 05/01/2017 09:25:13
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 utenti hanno apprezzato questo post
Davide Carpi 05/01/2017 15:53:00
  • Nuovi post
  • Nessun nuovo post