Where would I find fromInt?
10 Sep
2007
10 Sep
'07
4:27 a.m.
Hi Where would I find the fromInt function, please? Better still, would anyone know how to write a func for converting int to float and vice versa? Thanks, Paul
10 Sep
10 Sep
5:48 a.m.
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.)
6704
Age (days ago)
6705
Last active (days ago)
2 comments
3 participants
participants (3)
-
Albert Y. C. Lai -
Andrew Coppin -
PR Stanley