Explicit type conversions.

Converts possibly floating point numbers from the database into
integers.