fromIntegral

fromIntegral :: (Integral a, Num b) => a -> b
base Prelude
general coercion from integral types