8
   

!= or /= or basically the not equal sign

 
 
Reply Fri 28 May, 2004 12:40 pm
How do you write the not equal sign?

In programming it is often != and I use that. I just saw /= as well today.

What do you use (other than Not Equal )?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 8 • Views: 118,780 • Replies: 24
No top replies

 
ebrown p
 
  1  
Reply Fri 28 May, 2004 01:14 pm
I have also seen "<>" (less than or greater than)"

I always use != (but then I am a programmer).
0 Replies
 
McGentrix
 
  1  
Reply Fri 28 May, 2004 01:33 pm
Huh! I didn't know Not Equal existed here...
0 Replies
 
ebrown p
 
  1  
Reply Fri 28 May, 2004 01:42 pm
I think if I saw "foo /= bar" I would interpret it as

foo = foo / bar;
Brandon9000
 
  2  
Reply Fri 28 May, 2004 02:11 pm
Of the forms that I can write with this keyboard, I have seen != and <>, but never /=.
0 Replies
 
PostModernFreak
 
  1  
Reply Thu 3 Jun, 2004 03:10 pm
The semantical standard is !=

I have never seen the /= before either. Where did you see it used? Smile
0 Replies
 
SealPoet
 
  1  
Reply Fri 4 Jun, 2004 04:29 am
Then there's the ever popular 'NE'. As opposed to EQ, GT, LT, GE, and LE...
0 Replies
 
prettygurlinpink
 
  1  
Reply Tue 8 Feb, 2005 04:50 am
What exactly does this mean: The use of the = symbol in programming requires a new understanding of the terms assignment and equality. (?) Are there any other use for the equal sign in programming other than indicate mathematical or logical equivalence ?
0 Replies
 
FreeDuck
 
  1  
Reply Tue 8 Feb, 2005 06:50 am
I use != but I've seen <> used in pl sql.

pgp, I think = in programming is mostly used for assignment. Assigning values to variables and such. To check equality, depending on the language, it's usually == (in Java .equals()). There is a big difference between assigning something equal and checking equality.
prettygurlinpink
 
  1  
Reply Tue 8 Feb, 2005 07:01 am
visual C++
freeduck do u know visual C++?
0 Replies
 
FreeDuck
 
  1  
Reply Tue 8 Feb, 2005 07:55 am
No, sorry, not well enough to be of any use to you. But if you have a specific question about it I'm sure someone here knows enough to at least point you in the direction of the answer.
0 Replies
 
unlawflcombatnt
 
  1  
Reply Sun 10 Feb, 2008 05:24 pm
Re: != or /= or basically the not equal sign
Craven de Kere wrote:
How do you write the not equal sign?

In programming it is often != and I use that. I just saw /= as well today.

What do you use (other than Not Equal )?


I noticed here that typing in ": ! = :" gives the Not Equal symbol on this board, but not elsewhere.

Is there any way to make this work elsewhere, like on another forum? (like on my Edit [Moderator]: Link removed?).

The "Not Equal" sign would really be useful to me.
0 Replies
 
Vengoropatubus
 
  1  
Reply Sun 10 Feb, 2008 08:21 pm
I think /= is some sort of shorthand for =/=
0 Replies
 
Quincy
 
  1  
Reply Mon 11 Feb, 2008 07:07 am
I use ~=, which is from Matlab/Octave, but != is inter-changeable in Matlab, I think.

EDIT: I suppose if you use '~' for 'not', you could also use , er, nevermind, I can't seem to place the symbol here, but it looks like a L rotated 90 degrees forward and then flipped over.
0 Replies
 
vinsan
 
  1  
Reply Mon 11 Feb, 2008 10:39 am
<> is more famous though. Its an old notion.
0 Replies
 
Vengoropatubus
 
  1  
Reply Mon 11 Feb, 2008 09:07 pm
Quincy wrote:
I use ~=, which is from Matlab/Octave, but != is inter-changeable in Matlab, I think.

EDIT: I suppose if you use '~' for 'not', you could also use , er, nevermind, I can't seem to place the symbol here, but it looks like a L rotated 90 degrees forward and then flipped over.


yah, I have a math book with that in it. sort of like a ",_" except upside down and in the middle of the line.
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 12 Feb, 2008 02:06 am
Re: != or /= or basically the not equal sign
unlawflcombatnt wrote:

I noticed here that typing in ": ! = :" gives the Not Equal symbol on this board, but not elsewhere.

Is there any way to make this work elsewhere, like on another forum?


Just make it an emoticon for the board. Most board software allows you to add emoticons.
0 Replies
 
haddara
 
  1  
Reply Wed 19 Aug, 2009 05:03 am
@FreeDuck,
Yes, you're right <> is used in SQL and PL/SQL
0 Replies
 
JPB
 
  1  
Reply Wed 19 Aug, 2009 07:32 am
I use != in sql+ and ne in SAS. Common syntax in SAS would be

if x ne 7 or y gt 8 or z le 6 then...

which translates to

if x not equal to 7 or y greater than 8 or z less than or equal to 6 then...
0 Replies
 
Litoz
 
  1  
Reply Tue 15 Sep, 2009 10:09 pm
hi people! i had programed in various languages and for telling "no equal" u use " !=" , the /= is a sort of "+=" but with division insteand. putting "x = x/y " is the same than "x/=y" got it?? and the otre simbol in math is "¬" the L shaped they say. here to help
 

Related Topics

Evolution 101 - Discussion by gungasnake
Typing Equations on a PC - Discussion by Brandon9000
The Future of Artificial Intelligence - Discussion by Brandon9000
The well known Mind vs Brain. - Discussion by crayon851
Scientists Offer Proof of 'Dark Matter' - Discussion by oralloy
Blue Saturn - Discussion by oralloy
Bald Eagle-DDT Myth Still Flying High - Discussion by gungasnake
DDT: A Weapon of Mass Survival - Discussion by gungasnake
 
  1. Forums
  2. » != or /= or basically the not equal sign
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.08 seconds on 11/21/2024 at 07:55:00