简体   繁体   English

<> 是什么意思?

[英]What does <> mean?

I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:我之前在 SQL 和 VB 中见过这个,我现在正在对 Excel 电子表格进行逆向工程,并遇到以下公式:

=IF(D23<>0,"Insufficent",0)

I am converting it to ActionScript:我正在将其转换为 ActionScript:


var result:String = [condition] ? 0 : "Insufficient";

but I am unsure of what D23 <> 0 means, is it simply "not equal"?但我不确定 D23 <> 0 是什么意思,它只是“不相等”吗?

Yes, it means "not equal", either less than or greater than.是的,它的意思是“不等于”,要么小于要么大于。 eg例如

If x <> y Then

can be read as可以读作

if x is less than y or x is greater than y then如果x 小于 yx大于 y那么

The logical outcome being "If x is anything except equal to y"逻辑结果是“如果 x 是等于 y之外的任何东西”

Yes in SQl <> 与 != 相同,不等于.....当然,NULLS 除外,在这种情况下,您需要使用 IS NULL 或 IS NOT NULL

It means not equal to.不等于的意思。 The same as != seen in C style languages, as well as actionscript.与 != 在 C 风格语言以及 actionscript 中看到的相同。

是的,它“不相等”。

“不等于”

I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:我之前在SQL和VB中已经看到了这一点,现在我对Excel spedsheet进行了反向工程,并遇到了以下公式:

=IF(D23<>0,"Insufficent",0)

I am converting it to ActionScript:我将其转换为ActionScript:


var result:String = [condition] ? 0 : "Insufficient";

but I am unsure of what D23 <> 0 means, is it simply "not equal"?但是我不确定D23 <> 0是什么意思,是“不等于”吗?

I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:我之前在SQL和VB中已经看到了这一点,现在我对Excel spedsheet进行了反向工程,并遇到了以下公式:

=IF(D23<>0,"Insufficent",0)

I am converting it to ActionScript:我将其转换为ActionScript:


var result:String = [condition] ? 0 : "Insufficient";

but I am unsure of what D23 <> 0 means, is it simply "not equal"?但是我不确定D23 <> 0是什么意思,是“不等于”吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM