Has anyone made an mod or % ( modulous ) function that returns a float or int like in Blitz and FREEBasic and that copes with negatives too, I dont think fmod is the answer. Or could you help me in creating one please?
example:
If ( float_variable mod 1.0>=0.5 ) then
{
....;
....;
}
end if
another example:
if ( a mod 360 ) then .....
Cheers,
Clyde.