Use latitude == 0.0 instead.  Implicit casting of doubles to booleans is a legal but hard to read feature in a statically typed language.