DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
converst string to int ruby
Integer('5abc') #=> ArgumentError: invalid value for Integer(): "5abc" Integer('5') #=> 5
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#converst
#string
#int
#ruby
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit