+ 1
How can i convert varible to boolean, string, float in ruby?
4th Feb 2018, 4:45 AM
Denis
2 Answers
+ 5
x.to_b
x.to_s
x.to_f
4th Feb 2018, 7:14 AM
Kuba SiekierzyĆski

+ 1
Thank you!
4th Feb 2018, 7:51 AM
Denis
Often have questions like this?
Learn more efficiently, for free:
Hot today
How do i make a lexer and parser
1 Votes
Help
1 Votes
Data analysis
0 Votes
Lesson Takeaways
0 Votes
Order of AI courses
0 Votes
Saved code
0 Votes
Upvoting not work
0 Votes