problem with "str2num"

problem with "str2num" - the function is not evaluated correctly - 消息

#1 已发布: 2019/6/17 13:36:00
sergio

sergio

127个赞,共342个帖子。

组: 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.22 KiB)已下载 1403 次。
#2 已发布: 2019/6/17 20:22:08
Jean Giraud

Jean Giraud

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

组: User

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

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

1,558个赞,共1,868个帖子。

组: Moderator

Try this.

2019-06-18_04-41-57.png
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
sergio 2019/6/18 06:14:00, NDTM Amarasekera 2019/6/18 06:20:00
#4 已发布: 2019/6/18 05:36:23
sergio

sergio

127个赞,共342个帖子。

组: User

thank you uni, it's a good buffer solution; only a minimum discomfort remains for entering the correct character.
sergio
  • 有新帖
  • 无新帖