You *are* missing something obvious.
Integers are "whole number values" and cannot contain decimals.
12.0101010 is "12" when converted to an int - period.
The best you can do is round the value to the nearest whole number value, using MathUtilities.round() (see my previous post).
See this definition of Integer: http://en.wikipedia.org/wiki/Integer