Ask your own question, for FREE!
Mathematics 24 Online
OpenStudy (lgbasallote):

what does == mean? i see it in programming and i saw it again just now. is it a mathematical symbol??

OpenStudy (anonymous):

Isn't it an equality operator? It tests the value on the left to what's on the right.

OpenStudy (ash2326):

@lgbasallote Supposedly we have \[a==b\] This is a symbol for checking the equality of the two mostly used along if and else statement

OpenStudy (lgbasallote):

what's the difference with =?

OpenStudy (ash2326):

= on the other hand assigns the value of right variable to the left a=b a's value will be set the value of b

OpenStudy (ash2326):

Strictly in programming

OpenStudy (lgbasallote):

im not getting it..sorry...i just cant imagine it

OpenStudy (lgbasallote):

== is a condition?

jimthompson5910 (jim_thompson5910):

In programming (eg C++) = is the assignment operator Ex: If you wanted to assign the value of 5 to x, then you would type "int x = 5;" ------------------------------------------------------- == is the equality test operator. You use this to test to see if two things are equal to each other So if x is 5, then x == 5 would return true, but something like 2 == 3 would return false

OpenStudy (lgbasallote):

oh i see...so it's only used in programming? it's not a mathematical symbol?

jimthompson5910 (jim_thompson5910):

it's mostly used in programming although mathematica uses it too

jimthompson5910 (jim_thompson5910):

but mathematica is both a programming and math environment, so that makes a bit of sense

OpenStudy (lgbasallote):

lol i guess i asked in the wrong section huh =)) i thought it was mathematics because i saw a logic question and it had that notation

jimthompson5910 (jim_thompson5910):

math and logic are hard to separate, so you're in the right section

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!