public static boolean isMultipleFive(int number) {
String temp = ""+number;
char c = temp.charAt(temp.length()-1);
return c == '5' || c == '0';
}


--- Update ---
...