Skip to content

Questão TI21#3 #9

Answered by Guilhlm
paulowh asked this question in Q&A
Discussion options

You must be logged in to vote

== uma comparaçao do valor da variavel, === verifica tudo da variavel inclusive o seu tipo (int, float), tem q ter o mesmo valor e tipo

string ="2" == int="2"
string ="2" !== int="2"
int="2" === int="2"

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by paulowh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants