problem with "str2num"

problem with "str2num" - the function is not evaluated correctly - Messages

#1 Posted: 6/17/2019 1:36:00 PM
sergio

sergio

115 likes in 329 posts.

Group: User

I need to evaluate a condition (Boolean) that I have to build on a case-by-case basis. In testing this situation, I experienced the incorrect behavior of the "str2num" function in the case of the "=" sign.

sergio
str2number_z.png
str2number_z.sm (4 KiB) downloaded 29 time(s).
#2 Posted: 6/17/2019 8:22:08 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Clearly a bug it does not recognize 'Numeric'
#3 Posted: 6/17/2019 8:42:28 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Try this.

2019-06-18_04-41-57.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
sergio 6/18/2019 6:14:00 AM, NDTM Amarasekera 6/18/2019 6:20:00 AM
#4 Posted: 6/18/2019 5:36:23 AM
sergio

sergio

115 likes in 329 posts.

Group: User

thank you uni, it's a good buffer solution; only a minimum discomfort remains for entering the correct character.
sergio
  • New Posts New Posts
  • No New Posts No New Posts