This function should convert a float into an integer at runtime level
This function should convert a float into an integer at runtime level