To the tune of the theme song of Ghostbusters: You've got an Int But you want Double Who do you call? "fromIntegral!" (The inverse conversion requires you to think about rounding first.)