is there any equivalent function for fmod() in android?
--- in c++ : ----
double fmod(double x, double y)
float fmodf(float x, float y)
The fmod functions compute the floating-point remainder of dividing x by y.
The return value is x - n y, where n is the quotient of x / y, rounded to the first integer towards zero.