> I am going to guess that the integer portion is thrown away ... but that
is
> a guess ...
Pretty much. One of your examples was wrong:
> -56.6 -> 0.6
-56.6 -> 0.4
Use the equation x - floor(x).
(Although I think 1.0 maps to 1.0, so x - floor(x) might not be exactly
accurate.)
- Slime
[ http://www.slimeland.com/ ]