I do not why the below mathematical operation gives me 0.0
Mathematical_expression:
double percentageAmongAll = ((itemClickedID+1)/(parent.getCount()));
Logcat_Output:
06-14 13:46:53.176: I/MySavedLocation(19361): parent.getCount() = 3
06-14 13:46:53.176: I/MySavedLocation(19361): itemClickedID+1 = 2
06-14 13:46:53.176: I/MySavedLocation(19361): percentageAmongAll = 0.0