Where would I find fromInt?
9 Sep
2007
9 Sep
'07
10:57 p.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
12:18 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.)
7013
Age (days ago)
7014
Last active (days ago)
2 comments
3 participants
participants (3)
-
Albert Y. C. Lai -
Andrew Coppin -
PR Stanley