When should a double equal sign (==) be used?

(1 point)
Responses

to set the value of a decimal variable

to set the value of a decimal variable

to set the value of a float variable

to set the value of a float variable

to check whether two pieces of data are actually equal

to check whether two pieces of data are actually equal

to indicate greater than or less than

1 answer

to check whether two pieces of data are actually equal