The Crystal Programming Language Forum

How do you convert float to Int?

Sorry for this newbie question, I tried round and as, they don’t for that.

to_i

2 Likes