Compare double values instead of strings