
Something Better then MOD?
Quote:
> Could some one help me with a little math problem. I need to obtain the
> exact remainder of a double value divided by another double value.
"Remainder" doesn't have much meaning in that case, but if you mean the
fractional part, just do x - floor(x) (where x is n/d).
Cheers,
- Joe
,------------------------------------------------------------------.
| Joseph J. Strout Check out the Mac Web Directory: |
`------------------------------------------------------------------'