Comparing Integers and Doubles(databasearchitects.blogspot.com)