@packerjs - Ok, sounds fine with me as long as it works.  I thought Java would throw an error if you tried to cast a Double as a Long (or a Float as an int).  Could you make sure there's a test case for loading a float value as an integer and seeing that the truncation works properly?