电源应用程序整数比较错误(包含)

发布于 2025-01-21 05:39:41 字数 138 浏览 1 评论 0原文

我正在获取联系记录的数量,我想比较文本。即使数字为555555555。

其转换为文本,但仍会返回false

我尝试将 =“ https://i.sstatic.net/skuw2.png” alt =“在此处输入图像说明”>

I'm taking the number of the contact record and I want to compare text. This returns false even if the number is 555555555.

I tried converting it to text but it still returns false

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

死开点丶别碍眼 2025-01-28 05:39:41

这是我测试的流程。

左手侧表达式为... string(variables('number')) ...,右手侧表达式为... string(555555) ...产生true结果。

55555上使用双引号还产生了true的结果。

您需要小心双引号,它们在添加并运行流程后消失,但JSON定义会告诉您详细的故事...

数字比较

字符串比较

”字符串比较“

This is the flow I tested with.

Flow

The left hand side expression is ... string(variables('Number')) ... and the right hand side expression is ... string(55555) ... that produced a true result.

Using double quotes around the 55555 also produced a result of true.

Double Quotes

You need to be careful with double quotes though, they disappear after your add and run the flow but the JSON definition will tell you the detailed story ...

Number Comparison

Number Comparison

String Comparison

String Comparison

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文