GPS Data Compare

Hey guys i want to compare GPS data with given gps data. If some data match i want display it. plz give me idea.

https://www.arduino.cc/en/Reference/If

And the material contained therein on comparison operators.