I create android app for dividing numbers.
int a,b;
int result = a/b;
if (result==decimal){
Log.v ("result","your result number is decimal")
} else {
Log.v ("result","your result number is not decimal")
}
How can I check if result
is a decimal?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…