Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Ruby
rails comparar string to integer
Mike Harris
Programming language:
Ruby
2021-03-09 05:48:46
0
Q:
rails comparar string to integer
Yuki Inoue
Code:
Ruby
2021-09-11 14:40:37
val1 == val2.to_i
0
Tags
string
int
Related
integer to string ruby
ruby is int
string interpolation ruby
ruby check if string is integer
converst string to int ruby
ruby string to array
ruby string to int
New to Communities?
Join the community