Your method is attempting to return an int. Int variables are considered counting numbers and cannot have a decimal. Since Pi is a floating point value and requires a larger decimal for higher percision, ideally you'd want to either use a round, ceil, or floor math function, or return your method as a float.